A Django app to download, extract and load campaign finance from the Federal Election Commission
Project description
# django-fec-raw-data
A Django app to download, extract and load campaign finance from the Federal Election Commission.
It relies on the New York Times [Fech](http://nytimes.github.io/Fech/) library to download filings as CSV files, then loads them
into a database preserving all the fields in the raw data.
[![Build Status](https://travis-ci.org/datadesk/django-fec-raw-data.png?branch=master)](https://travis-ci.org/california-civic-data-coalition/django-fec-raw-data)
[![PyPI version](https://badge.fury.io/py/django-fec-raw-data.png)](http://badge.fury.io/py/django-fec-raw-data)
[![Coverage Status](https://coveralls.io/repos/datadesk/django-fec-raw-data/badge.png?branch=master)](https://coveralls.io/r/california-civic-data-coalition/django-fec-raw-data?branch=master)
* Issues: [github.com/datadesk/django-fec-raw-data/issues](https://github.com/datadesk/django-fec-raw-data/issues)
* Packaging: [pypi.python.org/pypi/django-fec-raw-data](https://pypi.python.org/pypi/django-fec-raw-data)
* Testing: [travis-ci.org/datadesk/django-fec-raw-data](https://travis-ci.org/datadesk/django-fec-raw-data)
* Coverage: [coveralls.io/r/datadesk/django-fec-raw-data](https://coveralls.io/r/datadesk/django-fec-raw-data)
## Quick start
Add this app to your ``INSTALLED_APPS`` in ``settings.py``.
```python
INSTALLED_APPS = (
...
'fec_raw',
)
```
Create the raw models.
```bash
$ python manage.py migrate
```
Download the FEC filings.
```bash
$ python manage.py downloadfecrawdata
```
Load them into the database.
```bash
$ python manage.py loadfecrawdata
```
A Django app to download, extract and load campaign finance from the Federal Election Commission.
It relies on the New York Times [Fech](http://nytimes.github.io/Fech/) library to download filings as CSV files, then loads them
into a database preserving all the fields in the raw data.
[![Build Status](https://travis-ci.org/datadesk/django-fec-raw-data.png?branch=master)](https://travis-ci.org/california-civic-data-coalition/django-fec-raw-data)
[![PyPI version](https://badge.fury.io/py/django-fec-raw-data.png)](http://badge.fury.io/py/django-fec-raw-data)
[![Coverage Status](https://coveralls.io/repos/datadesk/django-fec-raw-data/badge.png?branch=master)](https://coveralls.io/r/california-civic-data-coalition/django-fec-raw-data?branch=master)
* Issues: [github.com/datadesk/django-fec-raw-data/issues](https://github.com/datadesk/django-fec-raw-data/issues)
* Packaging: [pypi.python.org/pypi/django-fec-raw-data](https://pypi.python.org/pypi/django-fec-raw-data)
* Testing: [travis-ci.org/datadesk/django-fec-raw-data](https://travis-ci.org/datadesk/django-fec-raw-data)
* Coverage: [coveralls.io/r/datadesk/django-fec-raw-data](https://coveralls.io/r/datadesk/django-fec-raw-data)
## Quick start
Add this app to your ``INSTALLED_APPS`` in ``settings.py``.
```python
INSTALLED_APPS = (
...
'fec_raw',
)
```
Create the raw models.
```bash
$ python manage.py migrate
```
Download the FEC filings.
```bash
$ python manage.py downloadfecrawdata
```
Load them into the database.
```bash
$ python manage.py loadfecrawdata
```
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
django-fec-raw-data-0.0.3.tar.gz
(10.3 kB
view details)
File details
Details for the file django-fec-raw-data-0.0.3.tar.gz
.
File metadata
- Download URL: django-fec-raw-data-0.0.3.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bcd3ce803d3739e2303283abf8218aff7a1c7b3387d634810fff4769c32775a |
|
MD5 | e2e88831c535ec97e2b6f84907354fb4 |
|
BLAKE2b-256 | d1a6578472a076c6e49006cdc0c36597ee00f28c8854db0f16786de6aa4ef020 |