Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

newsdev/elex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cf512d9 · Sep 7, 2022
Oct 8, 2018
Nov 27, 2018
Sep 30, 2016
Dec 22, 2015
Jul 9, 2018
Dec 10, 2015
Apr 23, 2018
Jul 9, 2018
Jun 18, 2018
Jun 18, 2018
Jun 18, 2018
Aug 31, 2016
Jun 18, 2018
Sep 6, 2022
Dec 22, 2015
Jun 18, 2018
Nov 15, 2018
Jun 16, 2018
Nov 15, 2018
Jun 18, 2018

Repository files navigation

NOTICE

Maintenance of this project has ended and the repository is no longer supported. You should not expect it to work. Be bold. Seek out new solutions!

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

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

Experimental

News

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.