philly-ward-leaders
philly-ward-leaders copied to clipboard
Determine workflow for stats
The data-scripts
folder (currently in the contentful
or jekyll
branches) cleans and merges data from open data philly via a command line python script. We'll need to run these twice per year (a few weeks after each election). Then we'll need to store the results somewhere; either as a file in the repo or as records in contentful.
Stats are things like turnout and registration for each ward (total and for each party).
It may make sense to have a Ward
content type with these stats, including divisionCount
, and have Ward Leader
and Committee Person
content types include a Ward
field by reference.
Need to move this to another milestone. For now stats can be updated manually as they were in the spreadsheet.