Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ size_categories:
|
|
| 23 |
|
| 24 |
A clean, queryable DuckDB database built from [FEC bulk data](https://www.fec.gov/data/browse-data/?tab=bulk-data) covering federal campaign finance filings.
|
| 25 |
|
| 26 |
-
**
|
| 27 |
|
| 28 |
Built with [fec-database](https://github.com/ian-nason/fec-database).
|
| 29 |
|
|
@@ -64,16 +64,16 @@ DuckDB uses HTTP range requests, so only the pages needed for your query are dow
|
|
| 64 |
|
| 65 |
| Table | Description | Rows | Cols | Cycles |
|
| 66 |
|-------|-------------|------|------|--------|
|
| 67 |
-
| `individual_contributions` | Every individual donation: name, employer, occupation, amount, date |
|
| 68 |
-
| `committee_to_committee` | Transfers between committees |
|
| 69 |
-
| `operating_expenditures` | Committee operating expenditures: payee, purpose, amount | 19,
|
| 70 |
-
| `committee_contributions` | PAC/party contributions to candidates | 5,
|
| 71 |
-
| `independent_expenditures` | Independent expenditures for/against candidates |
|
| 72 |
-
| `committees` | Committee master: name, type, party, treasurer, connected org |
|
| 73 |
-
| `candidates` | Candidate master: name, party, office, state, district, status | 76,
|
| 74 |
-
| `candidate_committee_links` | Which committees are authorized by which candidates | 74,
|
| 75 |
-
| `communication_costs` | Internal communications supporting/opposing candidates | 25,
|
| 76 |
-
| `electioneering_communications` | Broadcast ads mentioning candidates near elections | 1,
|
| 77 |
|
| 78 |
## Pre-built Views
|
| 79 |
|
|
@@ -99,6 +99,27 @@ Full source code, build instructions, and example queries: [github.com/ian-nason
|
|
| 99 |
|
| 100 |
# Changelog
|
| 101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
## 2026-07-06 — Full refresh + data-quality audit
|
| 103 |
|
| 104 |
Rebuilt from current FEC bulk downloads (cycles 2004-2026) and repaired
|
|
|
|
| 23 |
|
| 24 |
A clean, queryable DuckDB database built from [FEC bulk data](https://www.fec.gov/data/browse-data/?tab=bulk-data) covering federal campaign finance filings.
|
| 25 |
|
| 26 |
+
**354,943,430 rows** across **10 tables** covering candidates, committees, individual contributions, PAC spending, and more.
|
| 27 |
|
| 28 |
Built with [fec-database](https://github.com/ian-nason/fec-database).
|
| 29 |
|
|
|
|
| 64 |
|
| 65 |
| Table | Description | Rows | Cols | Cycles |
|
| 66 |
|-------|-------------|------|------|--------|
|
| 67 |
+
| `individual_contributions` | Every individual donation: name, employer, occupation, amount, date | 280,827,680 | 22 | 2004-2026 |
|
| 68 |
+
| `committee_to_committee` | Transfers between committees | 48,118,471 | 22 | 2004-2026 |
|
| 69 |
+
| `operating_expenditures` | Committee operating expenditures: payee, purpose, amount | 19,725,971 | 26 | 2004-2026 |
|
| 70 |
+
| `committee_contributions` | PAC/party contributions to candidates | 5,304,857 | 23 | 2004-2026 |
|
| 71 |
+
| `independent_expenditures` | Independent expenditures for/against candidates | 602,587 | 24 | 2010-2026 |
|
| 72 |
+
| `committees` | Committee master: name, type, party, treasurer, connected org | 185,471 | 16 | 2004-2026 |
|
| 73 |
+
| `candidates` | Candidate master: name, party, office, state, district, status | 76,692 | 16 | 2004-2026 |
|
| 74 |
+
| `candidate_committee_links` | Which committees are authorized by which candidates | 74,481 | 8 | 2004-2026 |
|
| 75 |
+
| `communication_costs` | Internal communications supporting/opposing candidates | 25,631 | 26 | 2010-2026 |
|
| 76 |
+
| `electioneering_communications` | Broadcast ads mentioning candidates near elections | 1,589 | 20 | 2010-2026 |
|
| 77 |
|
| 78 |
## Pre-built Views
|
| 79 |
|
|
|
|
| 99 |
|
| 100 |
# Changelog
|
| 101 |
|
| 102 |
+
## 2026-09-14 — Data refresh (FEC bulk files as of 2026-09-14)
|
| 103 |
+
|
| 104 |
+
- Rebuilt from the FEC bulk downloads for all 12 cycles (2004-2026). Total
|
| 105 |
+
rows 347,171,337 → 354,943,430: `individual_contributions` 280,827,680,
|
| 106 |
+
`committee_to_committee` 48,118,471, `operating_expenditures` 19,725,971,
|
| 107 |
+
`committee_contributions` 5,304,857, `independent_expenditures` 602,587
|
| 108 |
+
(74,486 superseded amendment versions removed at build time).
|
| 109 |
+
- The July audit's repairs are now regression checks in the build: standalone
|
| 110 |
+
table dates > 85% non-null, `CALCULATED_CANDIDATE_SHARE` typed DOUBLE, one
|
| 111 |
+
`v_candidate_totals` row per (cycle, committee), `v_pac_to_candidate`
|
| 112 |
+
limited to 24K/24Z, conduit (24T) rows excluded from totals, and all 12
|
| 113 |
+
cycles present (a silently skipped download would otherwise drop a cycle).
|
| 114 |
+
A failing check aborts the build with a non-zero exit.
|
| 115 |
+
- DuckDB memory capped (default 6 GB, run at 4 GB / 2 threads for this build)
|
| 116 |
+
with `DATAPOND_MEMORY_LIMIT` / `DATAPOND_THREADS` overrides; `continue_build.py`
|
| 117 |
+
uses the same settings. File size 37.7 → 35.2 GB (insertion order no longer
|
| 118 |
+
preserved, which compresses better). `publish_to_hf.py --card-only`.
|
| 119 |
+
- Caveats unchanged: prank filings remain (treat single contributions > $5M
|
| 120 |
+
as suspect); upstream dates range from year 0677 to 9206; `CAND_ID`
|
| 121 |
+
resolves for ~95-99% of rows.
|
| 122 |
+
|
| 123 |
## 2026-07-06 — Full refresh + data-quality audit
|
| 124 |
|
| 125 |
Rebuilt from current FEC bulk downloads (cycles 2004-2026) and repaired
|