https://github.com/fgregg/ilcampaigncash
Load Illinois political contribute and spending data efficiently
https://github.com/fgregg/ilcampaigncash
Last synced: 5 months ago
JSON representation
Load Illinois political contribute and spending data efficiently
- Host: GitHub
- URL: https://github.com/fgregg/ilcampaigncash
- Owner: fgregg
- License: mit
- Created: 2022-10-31T13:27:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T03:20:05.000Z (5 months ago)
- Last Synced: 2024-11-16T04:19:25.381Z (5 months ago)
- Language: Makefile
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Illinois Campaign Cash loader
Load Illinois campaign fundraising data from the Illinois State Board of Elections.
[Download the sqlite database](https://github.com/fgregg/ilcampaigncash/releases/download/nightly/il_campaign_disclosure.db.zip).
## Requirements
* GNU Make
* Python 3 (tested on 3.6 and 3.7)## Install
Install using the `requirements.txt` file:
```
pip install -r requirements.txt
```### Load all
Download, process, and load.
```
make all
```### Paralellization
This incantation should do the trick. It parallelizes downloading and data loading across 4 cores, while running database creation and view creation serially.
```
make -j4 all
```