paper_fec downloads and parses raw .fec files using a slightly improved version of the canonical CSV header files maintained by the New York Times.
We recommend virtualenv and virtualenvwrapper.
git clone git@github.com:jsfenfen/paper_fec.git && cd paper_fec
mkvirtualenv paper_fec
add2virtualenv .
pip install -r requirements.txt
This parses all the files in the FILECACHE_DIRECTORY specified in parsing/read_FEC_settings.py. This repo should include at least one file in the default location.
python -m examples.read_FEC_demo
This repo includes a utility for downloading old daily filing ZIPs.
python -m helpers.download_old_fec_filings --help
To download filings for August 15 - August 19 of 2015, use this command.
python -m helpers.download_old_fec_filings --start=20150815 --end=20150820
- Make the newly created sources repo a requirement (it is currently included).