Open dwillis opened 8 years ago
@dwillis I started working on this, and have a few questions.
./bin/parse_2014_special_county.py --infile canvass.csv --outfile 20151208__ia__special__general__county.csv
However, I keep getting ModuleNotFoundError: No module named 'openelexdata'
no matter where I execute the python script from. How is this supposed to work?@keithly thanks for working on this! Here is a good example of a precinct-level results file. It's just like the county-level one but with an additional precinct
column.
We don't want unofficial results, so if that's all they have unfortunately you can skip them. The openelexdata
module exists in this repository, so depending on where you are running the command from it should be able to find it. Perhaps @ghing (who originally wrote it) could be of service, although it has been a few years. We were using Python 2.7 at the time this work was started, but it should be possible to use Python 3.X, too.
@dwillis I have these results completed. I tried to make a new branch / PR adding the files, but I don't have rights to do that.
@keithly Thanks! I've given you write access to the repo.
I've created PR #30 with the data
Available here. Using Tabula, create CSV files that look like this one. For races that have both county and precinct-level results, create separate files for both.
20150104__ia__special__general__precinct.csv
for precinct results)20150210__ia__special__general__precinct.csv
for precinct results)20151103__ia__special__general__precinct.csv
for precinct results)20151208__ia__special__general__precinct.csv
for precinct results)