Many bugfixes and some new fields / id schemes that might break implementations that rely on stable field names / orders.
- Fixes an issue with requests defaulting to national-only (#229, #230).
- Solves an issue with 3/5 and 3/6 Maine results not including townships (#228).
- Supports a
set-zero-counts
argument to the CLI to return zeroed-out data (#227). - Includes a
delegatecount
field onCandidateReportingUnit
to store data from district-level results (#225). - Supports a
results-level
argument to the CLI to return district-level data. (#223) - Solves an issue with
reportingunitid
not being unique acrosss different result levels (#226). - Adds an
electiondate
field onBallotMeasure
to guarantee uniqueness (#210). - Makes a composite id for
BallotMeasure
that includeselectiondate
(#210).
Documentation and dependency fixes.
- Elex can now be run in the same virtualenv as csvkit (#206).
- Links and copyright notice in documentation updated.
- Added section about virtualenvs to install guide, courtesy of Ryan Pitts.
- Add better tests for AP request quota (#203).
The 1.0.x release is named for Martha Ellis Gellhorn, one of the greatest war correspondents of the 20th century.
- Delegate counts (#138, #194). Delegate counts can be accessed with
elex delegates
. - Rename
elex.api.api
toelex.api.models
and allow model objects to be imported with statements likefrom elex.api import Election
(#146). Python modules directly calling Elex will need to update their import statements accordingly. - Fix duplicate IDs (#176).
- Handle incorrect null/none values in some cases (#173, #174, #175).
- Expand contributing / developer guide (#151).
- Add recipe for filtering with jq and uploading to s3 in a single command (#131).
- Tag git versions (#170).
- Fix elections command (#167).
- Use correct state code for county level results (#164).
- Use tox to test multiple Python versions (#153).
- Allow API url to be specified in environment variable (#144).
- Don't sort results for performance and stability (#136).
- Capture and log full API request URL in command line debugging mode (#134).
- Python 3 compatibility (#99).
- Fix missing vote percent in results (#152).
- Add Travis CI support (#101).
- Fix packaging.
First major release.
- Decided on elex for name (#59).
- Initial tests (#70, #107).
- First draft of docs (#18).
- Set up http://elex.readthedocs.org/ (#60).
- Handle New England states (townships and counties) (#123).
- Remove date parsing (#115) and dynamic field setter (#117) to improve performance.
Initial Python API and concept created by Jeremy Bowers; initial command line interface created by David Eads.