Closed eads closed 12 years ago
Check out the race names for the ones where you're getting 0 precincts. My bet: They are races that are in other parts of the state besides Cook County (like Recorder of Deeds in Lake County), where 0 is what you'd expect.
We have an unfixed ticket where we proposed nuking these guys, but it's never been patched. If you're going to write the code anyway, consider including it here. https://github.com/datadesk/python-elections/issues/22
I'll close this and see if I can contribute to fixing that ticket.
I have some code like this, which is causing an error because the Illinois and Cook County reporting unit precincts_total are 0:
I went in with the my handy interactive debugger and found all other Illinois reporting units have non-zero precincts_total values.