Skip to main content

retrieves flat-file data from FEC.gov website

Project description

FEC Data Reader

A quick way to retrieve FEC bulk flat-file data from https://www.fec.gov:

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.

To use this package, instantiate a DataReader object with a target directory. As you call relevant methods, the DataReader object will save flat-files to your chosen directory.

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

Features

FEC Reader currently retrieves these data files:

Installation

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.

Source Distribution

fec-reader-1.0.3.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

fec_reader-1.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page