Client for parsing the Associated Press's elections API
Project description
Get database-ready election results from the Associated Press Election API v2.0.
Elex is designed to be fast, friendly, and largely agnostic to stack/language/database choice. Basic usage is as simple as:
elex results 2016-03-01 > results.csv
Important links
Documentation: http://elex.readthedocs.org/
Repository: https://github.com/newsdev/elex/
Disclaimer
Elex was developed by The New York Times and NPR and not in concert with the Associated Press. Though we plan on using Elex for the 2016 cycle, there is no guarantee that this software will work for you. If you’re thinking about using Elex, check out the license and contact the authors.
Elex projects and implementations
NPR
NPR loader: A simple reference data loader for PostgreSQL.
New York Times
New York Times Elex loader: A more sophisticated data loader for PostgreSQL.
New York Times AP Deja Vu: A webservice to replay JSON captured during an election.
New York Times Elex admin: An admin interface for Elex data loaded with the New York Times loader written in Flask.
Experimental
node-elex-admin: Incomplete node-based admin interface.
elex-webVideoTextCrawler: Convert Elex data into HTML5 text track for live video streaming.
News
Introducing Elex, A Tool To Make Election Coverage Better For Everyone, Jeremy Bowers and David Eads, Source
NPR and The New York Times teamed up to make election reporting faster, Benjamin Mullin, Poynter
Using the FTP system?
Use the Los Angeles Times’ python-elections library.
The New York Times has a sample implementation that demonstrates how you might integrate the FTP loader with your Elex-based system.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file elex-2.4.4.tar.gz
.
File metadata
- Download URL: elex-2.4.4.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73f5e5ca24288e1378589cdeb7d78e439b5addb656735dadfd88ed069a90391 |
|
MD5 | 251b4b8997183b4fe3a1b06574338da8 |
|
BLAKE2b-256 | 98569b5d66e9a407e954dd9bc9c2c08511d363cdeec8690284ed8c814bb45891 |