Using Tabula, OCR or whatever method you can, parse precinct-level results for the following counties. Original sources are in the sources-pa repository.
The goal is to create a single CSV file for each county, with the following headers:
county, precinct, office, district, party, candidate, votes
If the county file also provides a breakdown of votes by method, include that using the following headers:
Using Tabula, OCR or whatever method you can, parse precinct-level results for the following counties. Original sources are in the sources-pa repository.
The goal is to create a single CSV file for each county, with the following headers:
county
,precinct
,office
,district
,party
,candidate
,votes
If the county file also provides a breakdown of votes by method, include that using the following headers:
early_voting
,election_day
,provisional
,absentee
Include the following offices:
The CSV files should be named
20200602__pa__primary__{county}__precinct.csv
. Here's an example finished file: https://github.com/openelections/openelections-data-pa/blob/master/2020/20200602__pa__primary__elk__precinct.csv.