http://github.com/dfdeshom/watchdog/tree/master/import/parse/historical_voting.py
It parses all the files in /data/manual/rvdb/allYears/ and outputs one
dictionary for every line parsed, like so:
{'county_name': 'Autauga',
'dem_count': '1149',
'other_count': '89',
'rep_count': '1324',
'state': 'alabama',
'year': '1960'}
Comments, improvements and suggestions are welcome!
didier
I assume these are thousands or something like that? Can we just
multiply by a 1000 for clarity?
No, these look like raw numbers to me.
didier
>
> >
>
Thanks, and sorry for taking so long to get back to you on this. I
committed it with a few style changes: