Auditing FEC Bulk Data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Campaign finance data is an important part of keeping our democracy accountable. This project aims on checking the integrity of that data. "OFEC check" attacks this problem in two ways. It keeps track of FEC data over time and it tests the soon to be released FEC API against the bulk data.

Tracing the data overtime can surface possible data issues and keep track of how data is amended over time. Testing the new API against the current, canonical data will identify potential data quality issues in the new data infrastructure that can then be fixed before release.

Historically there have been reports of inconsistencies between the FEC bulk data and the FEC individual records. In transferring from one database to another, or going from individual records to bulk data releases, data can be lost or corrupted. Our project helps ensure that data coming from the government is sound and can be used for accurate reporting.

*This project is still in development! Leave us your contact info for updates.

Stay in Touch!

Leave us your name and email address. No spam, only important updates, we promise!

Getting Started

  1. Create new database

  2. Edit keys.example.json to include database parameters and rename it to keys.json

createdb campaigncon
  1. Seed the database and ingest some new data
python reset
python ingest
  1. Navigate to the website
open http://localhost:5000/?before=04-05-2015&after=05-01-2015

Download New Data

  1. Download data
# Download the data only if there is a new version on the FEC website

# Ingest into database
python ingest