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.0.4.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for fec_reader-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9bee0193c8422f7f38a805145c283d3aea3b0a2270ab092c6ecbcf1e069ffb |
|
MD5 | 70b57c35cf5e44caadaa48ba7d5fcfd0 |
|
BLAKE2b-256 | 9a04fd3548e5818754459d1b412e4e8e5611ed9e2c30d94ada02b3a1ae3509e6 |