Skip to content

A Django app to download and parse IRS political committee filings

License

Notifications You must be signed in to change notification settings

sahilchinoy/django-irs-filings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Django app for downloading and parsing IRS campaign finance data, inspired by the New York Times Fech library.

PyPI version Build Status

Background

Some political committees report their contributions and expenditures to the IRS under § 527 of the U.S. tax code. The IRS publishes these disclosure forms as a bulk download. This app attempts to make sense of that archive.

The archive is updated every Sunday at 1:00 AM.

Getting started

Install it.

$ pip install django-irs-filings

Add irs to your list of INSTALLED_APPS in settings.py.

INSTALLED_APPS = (
    ...
    'irs',
    ...
)

Migrate your database.

$ python manage.py migrate irs

Finally, call the updateIRS command. This will download the latest zipped archive from the IRS website, unzip and parse it, and load it into the database.

$ python manage.py updateIRS

About

A Django app to download and parse IRS political committee filings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages