FEC data delivery to R2
The dated research records this page once linked (under docs/research) were deleted on 2026-11-11; they remain in the repository's git history.
Updated October 4, 2026. Deliver useful retained non-PDF FEC data as
source-faithful, queryable Parquet tables in the spicy-regs R2 bucket.
Keep the exact source evidence and enough metadata to explain each table.
The selected retained release was published October 1. Its
publication checkpoint
records complete remote byte verification and public table queries. The
reviewed release records the
matching consumer and successful hosted queries. Later corrections regenerated
the typed fec-query generation and bound a new release receipt to each new
consumer image; the round-6 release record
names the current generation, receipt and rollback target.
This is the active checklist. The earlier roadmap preserves the full historical acquisition plan and original FR/FH task IDs. The gap register preserves source limits and optional work; those items become delivery tasks only when they affect the selected data's accuracy, usability or availability on R2.
Useful data and its shape
| User need | Published data to keep | Shape |
|---|---|---|
| Identify candidates and committees over time | Candidate history, committee observations and master/history records | Source identity and cycle or snapshot, with reported attributes |
| Inspect reported money | Receipts, disbursements, intercommittee transactions, independent expenditures, loans, debts and other supported schedules | One reported record version with named amount/date fields, parties, filing links and interpretation flags |
| Understand filings | Filings, report observations, registration statements, filing links and definitions | Submitted versions and source identifiers remain distinct; supported links retain their evidence |
| Explore legal activity | Matters, parties, events, document metadata and audit findings | Case-type-qualified identifiers, reported roles, dates and document associations |
| Read agency activity | Agency reports, metrics, text, document metadata and oversight recommendations | Separate reports, dated measures and narrative observations, with source units and periods |
| Understand coverage and verify a result | Source catalog, collections, selection/mapping dispositions, source records and evidence links | Explicit scope and missing-data states; exact links to retained originals and definitions |
The published index and table dictionaries own the actual table membership and column schemas. The data model explains their meaning and also retains proposals for later work.
Keep these rules:
- Use the existing logical tables and qualified partitions. Preserve stable record identities and the declared meaning of each row.
- Keep identifiers as strings. Use exact decimal amounts and source-specific dates where mappings are qualified. Preserve raw values and reasons when a value is missing, unsupported or ambiguous; the receipt layout keeps them in the shared ETL receipt.
- Keep filing, amendment, memo, correction and interpretation flags needed to read a financial row correctly. Distinguish source observations from unique economic events; current/net totals remain unqualified.
- Keep shared definitions, full source records and detailed evidence in shared evidence datasets rather than copying full native JSON into every subject table.
- Retain source-limited records with explicit dispositions. An unresolved field or missing body does not justify discarding the supported data.
The October 1 layout satisfied that release. The October 3
subject and receipt decision then moved processing
fields out of subject tables. Current builds write domain values and stable keys
to each subject table and processing evidence to the generation's
etl_receipts.parquet; fec_source_catalog, fec_collections and
fec_source_records become receipt-only datasets. Generations published earlier
keep their original layout until rebuilt. In the publication index, a family
with an etlReceipts member uses the receipt layout. Rewriting record IDs or
further storage redesign requires a measured benefit and is outside this
checklist.
R2 contents
| Content | Published location |
|---|---|
| Current family and table membership | publication.v2.json |
| Typed subject tables and their manifests | generations/fec-query/<generation-digest>/ |
| Processing evidence of a receipt-layout generation | etl_receipts.parquet under that generation's prefix |
| Complete source observations, collections and reported relationships | generations/fec-observations/<generation-digest>/ |
| Candidate history and source catalog | Their existing fec-candidate-history and fec-source-catalog generation paths |
| Selected original bytes and supporting evidence | source-evidence/blobs/sha256/<digest> and artifact manifests under source-evidence/<artifact-digest>/ |
Use the captured publication index to select compatible generations and resolve the exact object keys. Follow the existing publication procedure for changes.
Delivery checklist
| Task | Completion rule | Current status |
|---|---|---|
| Account for retained inputs | Every selected non-PDF input contributes supported records or an explicit disposition | Complete for the selected retained corpus |
| Validate useful tables | Check source fields, types, row identity, joins, interpretation flags and evidence links | Complete at the recorded retained scope |
| Publish tables and recovery evidence | Upload immutable generations and selected originals; verify complete remote bytes before advancing the index | Complete |
| Read the delivered data from R2 | Verify generation pins, schemas, row counts and representative data against the accepted release | Complete; fresh public check passed |
| Leave a usable handoff | Record the index, table meanings, evidence locations and known limits | This page and the linked release receipts |
Completed work maps to FR01–FR10, FR12 and the positive public-read portion of FR13. Each later release binds its own receipt and image; see the round-6 record above. FEC families rebuilt in the receipt layout need a newly sealed generation and a newly bound release receipt before the qualified views can read them: a prior receipt cannot authorize changed interpretation code (qualified serving).
Next execution checkpoint
The selected retained R2 delivery is complete. The fresh public check passed for every table in the selected families: generation pins and control bytes match, schemas and footer counts agree, and representative data reads succeed. That check identified no additional upload or table-shape repair; corrections found afterwards are recorded with their releases.
Fresh check evidence: public-check.json. This read-only check completed October 1, 2026 at 9:10 p.m. Eastern (October 2 at 01:10 UTC). It reused the publication verifier for all selected table schemas, footer counts and sample data; full object hashes remain established by the earlier publication receipts.
Resume delivery work when a concrete missing object, schema mismatch, broken evidence link or useful retained mapping needs repair, or when the FEC families are rebuilt in the receipt layout.
Separate follow-up work
The following work stays outside the active R2 checklist:
- Historical acquisition and additional source families; PDFs remain deferred.
- Current/net financial totals, universal amendment handling and further relationship inference.
- Search indexing, legislative joins, scorecards and adjacent-source work.
- Recurring refresh, live deployment mutation/rollback drills and container lifecycle investigation.
- Storage optimization and local source cleanup.
If reclaiming disk space resumes, FR11 full restore/replay and FR14's exact
path/hash/remote-object/ownership checks still precede FR15 deletion. Preserve
shared or in-use inputs, deferred PDFs and the mixed eFilingFormats.zip
parent. Record removed paths and actual free-space change under FR16.
These checks protect local deletion; they are separate from R2 delivery.