Closed dwillis closed 4 years ago
Using the PDFs here for the general election, parse PDFs into CSV files for president, U.S. House and state legislative offices.
You can use Tabula to convert the PDFs, or another tool like pdftotext.
You'll end up with these files:
20191106__nj__general__county.csv
20181106__nj__general__municipal.csv
The county-level file will have a header row like this: county, office, district, party, candidate, votes
county
office
district
party
candidate
votes
The municipal-level file will have a header row like this: county, municipality, office, district, party, candidate, votes
municipality
Working on these.
Using the PDFs here for the general election, parse PDFs into CSV files for president, U.S. House and state legislative offices.
You can use Tabula to convert the PDFs, or another tool like pdftotext.
You'll end up with these files:
20191106__nj__general__county.csv
)20181106__nj__general__municipal.csv
)The county-level file will have a header row like this:
county
,office
,district
,party
,candidate
,votes
The municipal-level file will have a header row like this:
county
,municipality
,office
,district
,party
,candidate
,votes