clarify
clarify copied to clipboard
Discover and parse results for jurisdictions that use Clarity-based election systems.
While the original use case didn't want to consider how to download and unpack the XML results, I think it will make it a lot easier for volunteers to deal...
For example: http://results.enr.clarityelections.com/CO/elections.json
Does anyone have insight into why this Parser unit test is erroring? ``` ====================================================================== FAIL: test__get_or_create_result_jurisdiction (test_parser.TestParser) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../clarify/tests/test_parser.py", line 72, in test__get_or_create_result_jurisdiction self.assertEqual(parser._result_jurisdictions,...
I find libraries that raising Exceptions early and often when users pass in invalid/unsupported much more pleasant to work with. I'm developing a partial rewrite of the `jurisdiction.py` constructor to...
Last night ran into an issue with a LiveVoterTurnout XML file that Clarify wouldn't parse. Basically, each Contest had a `Intrastate New Resident` precinct listed. But the master Precincts list...
Like [West Virginia](http://results.enr.clarityelections.com/WV/74487/Web02-state.206999/#/), which clarify fails to parse and return any information from.
Recently, when I use `clarify`, Python has been spitting out this warning: ``` UnknownTimezoneWarning: tzname CDT identified but not understood. Pass "tzinfos" argument in order to correctly return a timezone-aware...
I'm getting an error when I try to install using `pip install clarify` (same error when running `pip install git+git://github.com/openelections/clarify.git`): ``` Collecting clarify Using cached https://files.pythonhosted.org/packages/ba/c0/8ccd65549a17ca116acdcd93a8279743cb88649dbe1b41eb6d4d6e12e374/Clarify-0.4.0.tar.gz Complete output from command...
(moved from #13) Looking at precinct-level results from the [2014](http://results.enr.clarityelections.com/NE/Sarpy/51545/184335/en/reports.html) and [2016](http://results.enr.clarityelections.com/NE/Sarpy/61551/184336/en/reports.html) primaries in Sarpy County, Nebraska -- in both cases, I'm getting a vote type `KeyError` when I try...