openelections / openelections-data-or

Pre-processed results for Oregon elections
MIT License
18 stars 17 forks source link

Add precinct-level results for the 2018 general election in Benton County #172

Closed alanhuang122 closed 5 years ago

alanhuang122 commented 5 years ago

As usual, Ghostscript came to the rescue (gs -sDEVICE=txtwrite -o output.txt input.pdf).

The code used to parse the resulting text file is a variation of the code I use to parse the results from Texas counties who publish results in a certain PDF format (Aransas, for example). I'm also realizing that I never actually pushed the code in question to the data-tx repo. Whoops.

The parsing was much easier, mostly because there's only one type of vote (Another pro for balloting by mail only).

alanhuang122 commented 5 years ago

There was no party information in the PDF file, and thus there is no party information in this CSV, either.