Download weekly master tables from Federal Election Commission's FTP server, from 1980 on.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
management
README
__init__.py
create_fec.sql
create_index.sql
importer.py
log.py
makemodels.py
postload.sql

README

A python app for importing all Federal Election Commission records from 1980 onward into a PostgreSQL database. These are the master files, updated weekly to an FTP server.

It is based largely off of the Sunlight Foundation's Data Commons (github: sunlightlabs), but is simpler/smaller in scope and also accomodates all election cycles.

By Luke Rosiak of The Washington Times. Released under GNU license.

To run:

createdb datacommons
python manage.py fecmasterrunonce 1990 [or whatever start year]

once a week:
python manage.py fecmasterrunweekly