Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/newsdev/elex

A wrapper for the AP v2 Elections API.
https://github.com/newsdev/elex

elections

Last synced: 3 months ago
JSON representation

A wrapper for the AP v2 Elections API.

Awesome Lists containing this project

README

        

**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:

.. code:: bash

elex results 2016-03-01 > results.csv

Important links
----------------

* Documentation: http://elex.readthedocs.org/
* Repository: https://github.com/newsdev/elex/
* Issues: https://github.com/newsdev/elex/issues
* Roadmap: https://github.com/newsdev/elex/milestones

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.