# 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.
[](https://travis-ci.org/california-civic-data-coalition/django-fec-raw-data)
[](http://badge.fury.io/py/django-fec-raw-data)
[](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.
[](https://travis-ci.org/california-civic-data-coalition/django-fec-raw-data)
[](http://badge.fury.io/py/django-fec-raw-data)
[](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
```
Release files for django-fec-raw-data 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-fec-raw-data-0.0.3.tar.gz | 10.3 kB | Details |
Release files / django-fec-raw-data-0.0.3.tar.gz
| Download URL | django-fec-raw-data-0.0.3.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bcd3ce803d3739e2303283abf8218aff7a1c7b3387d634810fff4769c32775a
|
|
BLAKE2b-256 checksum How to use checksums |
d1a6578472a076c6e49006cdc0c36597ee00f28c8854db0f16786de6aa4ef020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |