Admin · Data Ingestion

Trigger ingestion jobs to populate the database

US Congress

Ingest Members

Fetches all current US House + Senate members from Congress.gov and upserts into people table.

/api/admin/ingest/congress
Ready

Ingest Bills

Fetches recent bills from the 119th Congress with optional CRS summaries.

/api/admin/ingest/congress
Ready

Ingest Voting History

Fetches vote positions from GovTrack. Enter a slug for one member, 'Run one batch' for the next N, or 'Run All' to loop through all current US members automatically.

/api/admin/ingest/govtrack/votes
Ready

Enrich Bio + Analytics

Fetches Wikipedia bio extracts and GovTrack ideology/alignment scores. Enter a slug for one member, 'Run one batch' for the next N without a bio, or 'Run All' to loop through everyone.

/api/admin/ingest/congress/bio
Ready

US · Campaign Finance (FEC)

Match & Ingest FEC Finance Data

Search FEC by candidate slug, confirm the right match, then ingest contributor + spending totals. Manual search always requires confirmation; "Run All" below auto-confirms only when a search returns exactly one candidate matching that member's state and chamber — anything ambiguous is left for manual review here.

Ready

Runs every US member without FEC data yet through the same match rule, in the background.

Canada

Ingest MPs + Bills

Fetches all current MPs from ourcommons.ca and recent legislation from the 45th Parliament.

/api/admin/ingest/ourcommons
Ready