This is an effort to download Florida election results in near-real time, and convert them into the Elex format. This was a joint effort between the Palm Beach Post and the Miami Herald. Those with questions can email Mike Stucka at firstname.lastname@example.org and Caitlin Ostroff at email@example.com.
This is an effort to parse county-level results for Miami-Dade, Broward, Monroe and Manatee. It also pulls from the state's county-wide file.
Setup: Install the requirements
$ pip install -r requirements.txt
bash missionControl.shruns the scrapers and the parsers to pull election results
python Dade.pyDade County scraper
python Broward.pyBroward County scraper
python Monroe.pyMonroe County scraper
python Manatee.pyManatee County scraper
python composite_csvs.pyMerges all of the county results into one Elex-formatted csv and spits out
resultscomposite.json. This currently commented out becasue the Herald wound up not using it.
python calculations.pyDoes all of the math for the races and spits out
countyagg.jsonfor an aggregate count of the races
Data is stored in the
/snapshots directory followed by the county name for each