An open API service indexing awesome lists of open source software.

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

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
```