Skip to main content

retrieves data from website

Project description

FEC Data Reader

A quick way to retrieve FEC bulk data from

>>> import fec_reader as fec
>>> reader = fec.DataReader(data_dir='/raw') # pick a target directory
>>> reader.get_pac_summary(2010, 2018)

Each reader function allows you to specify year ranges for the data downloads. For example, the code below retrieves 3 data files:

reader.get_pac_summary(2014, 2018)

This is because the data in each file spans two calendar years.

This package is a demonstration of ETL skills for Alexus Wong. However, it is also important that we as a society can efficiently consume the inordinate amount of information available today. If we can process it, we can take steps in the right direction.

There is a 5 second delay between files to respect's bandwith.


FEC Reader currently retrieves these data files:


To install FEC Reader, simply use pip:

$ pip install fec-reader

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fec-reader, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size fec_reader-2.1.1-py3-none-any.whl (7.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size fec-reader-2.1.1.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page