retrieves data from FEC.gov website
Project description
FEC Data Reader
A quick way to retrieve FEC bulk data from https://www.fec.gov:
>>> import fec_reader as fec
>>> reader = fec.DataReader(DATA_DIR='/raw') # pick a target directory
>>> reader.get_pac_summary()
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 FEC.gov's bandwith.
Features
FEC Reader currently retrieves these data files:
- PAC Summary - https://www.fec.gov/campaign-finance-data/pac-and-party-summary-file-description/ - 'get_pac_summary'
- Candidate Master - https://www.fec.gov/campaign-finance-data/candidate-master-file-description/ - 'get_candidate_master'
Installation
To install FEC Reader, simply use pip:
$ pip install fec-reader
Project details
Release history Release notifications | RSS feed
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.1.8.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for fec_reader-1.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c76749755c03a150d05d80b57eea1daadbcfeaaea489e968870179f77d50ea |
|
MD5 | f21183a7df11eae29a76c2cb90a99fca |
|
BLAKE2b-256 | ff8fb6cb3938a2323c7b7ad052d2b87a9a7367bda7b849d7d5444c04fa4289de |