Skip to content

jsfenfen/paper_fec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paper_fec

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.

Installation

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

Run the demo

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

Get more files

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

Todos

About

Parse the OCR'ed paper FEC filings (as well as the electronic ones)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published