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.7.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for fec_reader-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b4dcb769ee5261daa419b05a1f1e01e0e0330d368ed66bbaaac661dfeba72f |
|
MD5 | 705155c9e518927c4f6d81c6990890de |
|
BLAKE2b-256 | 16c1d70be44070feeacafb449a07597ae5a8762582eb29fe32a27fac5ac4f2d2 |