https://github.com/simonw/fec-to-sqlite
Save FEC campaign finance data to a SQLite database
https://github.com/simonw/fec-to-sqlite
datasette datasette-io datasette-tool fec sqlite
Last synced: 3 months ago
JSON representation
Save FEC campaign finance data to a SQLite database
- Host: GitHub
- URL: https://github.com/simonw/fec-to-sqlite
- Owner: simonw
- License: apache-2.0
- Created: 2020-03-07T16:52:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-10T17:00:47.000Z (about 2 years ago)
- Last Synced: 2025-04-19T19:51:11.861Z (6 months ago)
- Topics: datasette, datasette-io, datasette-tool, fec, sqlite
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fec-to-sqlite
[](https://pypi.org/project/fec-to-sqlite/)
[](https://circleci.com/gh/simonw/fec-to-sqlite)
[](https://github.com/simonw/fec-to-sqlite/blob/master/LICENSE)Create a SQLite database using FEC campaign contributions data.
This tool builds on [fecfile](https://github.com/esonderegger/fecfile) by Evan Sonderegger.
## How to install
$ pip install fec-to-sqlite
## Usage
$ fec-to-sqlite filings filings.db 1146148
This fetches the filing with ID `1146148` and stores it in tables in a SQLite database called `filings.db`. It will create any tables it needs.
You can pass more than one filing ID, separated by spaces.