nyt-pyfec

Python client for parsing campaign finance data from the Federal Election Commission's web site.


Keywords
FEC election finance campaign data parsing scraping donation expenditure candidate committee, fec
License
Apache-2.0
Install
pip install nyt-pyfec==0.0.8

Documentation

Getting started

pip install -e git+git@github.com:newsdev/nyt-pyfec.git#egg=nyt-pyfec
python -m pyfec.demo

how to update fec-csv-sources...

...if you, like me, are other than awesome at git.

  • Make the updates in the fec-csv-sources repo, commit and push to github
  • Go your local nyt-pyfec repo, cd into pyfec
  • Make sure everything is backed up and committeed and stuff
  • If you've done this before, git submodule update --remote fec-csv-sources
  • If you haven't done it before, rm -r fec-csv-sources && git submodule update --init --remote fec-csv-sources
  • Commit and push
  • Voila?