Sources & Methodology
How capitol.fyi gathers, normalizes, and explains U.S. Congressional data.
Official & open data sources
- Legislation metadata, actions & CRS summaries: GPO GovInfo Bulk Data (BILLSTATUS) for the 107th through 119th Congresses (2001–2026).
- Full bill text: GPO GovInfo BILLS XML (GPO Bill DTD & USLM XML), parsed on demand into navigable sections, definitions, and U.S. Code citations, and compared section-by-section across versions.
- Roll-call votes & ideology metrics: Voteview (UCLA), compiled from official House Clerk and Senate LIS roll-call records, including DW-NOMINATE ideological coordinates.
- Members of Congress & portraits: Public-domain unitedstates/congress-legislators and unitedstates/images.
How metrics are calculated
- Party-line vs. bipartisan votes: A vote is labeled unanimous when there are zero Yea or zero Nay votes; party-line when a majority of voting Democrats opposed a majority of voting Republicans; and bipartisan when majorities of both parties voted the same way.
- Party unity percentage: On party-line roll-call votes where a member cast a Yea or Nay vote, the share of times they voted with their own party’s majority.
- AI plain-English analysis: Selected bills include structured section-by-section explanations generated from the official legislative XML. Every AI explanation is clearly labeled, and every cited quote is checked verbatim against the official bill text.
Current database snapshot
- Congresses loaded: 107,108,109,110,111,112,113,114,115,116,117,118,119
- Bills: 173,944
- Roll-call votes: 24,981
- Members: 1,521
- Built: November 25, 2026