Open timwis opened 9 years ago
I seems like the data on https://www.philadelphiavotes.com/en/resources-a-data/ballot-box-app.html Is now just provided as spreadsheets.
We should define a process for updating the various stats automatically from those (after converting to CSV probably).
If helpful, you could use a Python library to convert xlsx to csv as part of a data script, or use a separate tool like csvkit to convert it before passing it to your script.
It's easy enough to use excel or open office to convert to csv, especially since this is infrequent. I think a data script to pull out the values would be more important.
While knowing who they actually endorsed in the primary would allow the strongest indicator of performance (when compared against election results), we can at least assume the democrats endorsed the democrats in the general election in the meantime.
Easiest way to do this
2014 General
andGovernor and Lieutenant Governor
1
Results
column and the % for the republican candidate into the republican ward leader's column in the spreadsheet