Request a demo

Public dataset · Government, society and transport

Federal Election Commission (FEC) Campaign Finance in BigQuery

US federal campaign finance records: committees, candidates, individual contributions, committee-to-candidate contributions and operating expenditures for election cycles 1980 to 2020. 146 tables, 78.5 GiB; individual contributions for 2020 alone (indiv20) are 33.8 GiB and 195 million rows.

bigquery-public-data.fec · US Federal Election Commission · US · Sizes measured November 23, 2026

146tables
64.4 GiBin the tables below
364,629,544rows
$0.39to scan every column once, on-demand

The FEC publishes bulk data on every committee and candidate registered for federal office and their money flows. The dataset description lists the main file types: committees (cm), candidates (cn), candidate-committee linkages (ccl), itemized transactions between committees (oth), contributions from committees to candidates (pas2), individual contributions (indiv) and operating expenditures (oppexp).

Tables are named by file type and the last two digits of the two-year cycle: indiv80 to indiv20, cm00, cn20, pas220 and so on. Friendly-named tables with similar content exist for 2016 to 2020 (candidate_2020, committee_2020, committee_contributions_2020, opex_2020, other_committee_tx_2020, individuals_2016). The latest cycle in the dataset is 2020.

Join keys are the FEC identifiers: cmte_id for committees and cand_id for candidates. Amounts are in transaction_amt and dates in transaction_dt.

Tables and sizes

The dataset has 146 tables; the main ones are listed.

TableRowsSizeFull scanLayout
indiv20195,482,94533.8 GiB$0.21None
individuals_ingest_2020103,486,00518.0 GiB$0.11None
indiv1821,628,9733.8 GiB$0.02None
indiv16_cm1612,575,5903.5 GiB$0.02None
indiv1620,454,6423.5 GiB$0.02None
oth207,455,0261.3 GiBunder $0.01None
oppexp202,315,382392 MiBunder $0.01None
pas220889,165142 MiBunder $0.01None
indiv80308,69633.3 MiBunder $0.01None
cm2018,2882.3 MiBunder $0.01None
cn207,771844 KiBunder $0.01None
ccl207,061359 KiBunder $0.01None

Full scan = every column of the table at the on-demand list price of $6.25 per TiB, before your free TiB each month. Selecting fewer columns costs proportionally less. See BigQuery pricing.

Example queries

Preview rows with SELECT * LIMIT 100 (expensive)

Scans 33.8 GiB · $0.21 on-demand

LIMIT does not reduce bytes scanned. This 100-row preview reads all 33.77 GiB of indiv20. Use the table preview in the console instead, which is free.

SELECT *
FROM `bigquery-public-data.fec.indiv20`
LIMIT 100;

Individual contributions by state, 2020 cycle

Scans 2.2 GiB · $0.01 on-demand

Two columns of indiv20: 2.18 GiB.

SELECT
  state,
  ROUND(SUM(transaction_amt)) AS total_usd,
  COUNT(*) AS contributions
FROM `bigquery-public-data.fec.indiv20`
GROUP BY state
ORDER BY total_usd DESC
LIMIT 10;

Committees receiving the most individual money, 2016 cycle

Scans 371 MiB · under $0.01 on-demand

Joins contributions to committee names. The 2016 table is a tenth the size of 2020, so this is a cheap way to develop the query before running it on indiv20.

SELECT
  cm.cmte_nm,
  ROUND(SUM(i.transaction_amt)) AS total_usd
FROM `bigquery-public-data.fec.indiv16` AS i
JOIN `bigquery-public-data.fec.cm16` AS cm USING (cmte_id)
GROUP BY cm.cmte_nm
ORDER BY total_usd DESC
LIMIT 10;

Presidential candidates in the 2020 cycle

Scans 302 KiB · under $0.01 on-demand

cn20 is under 1 MiB.

SELECT
  cand_name,
  cand_pty_affiliation,
  cand_office_st
FROM `bigquery-public-data.fec.cn20`
WHERE cand_office = 'P'
  AND cand_election_yr = 2020
ORDER BY cand_name;

Candidates receiving the most committee contributions, 2020

Scans 16.3 MiB · under $0.01 on-demand

pas220 holds contributions and independent expenditures from PACs, party and other committees to candidates: 16.3 MiB.

SELECT
  cn.cand_name,
  ROUND(SUM(p.transaction_amt)) AS pac_usd
FROM `bigquery-public-data.fec.pas220` AS p
JOIN `bigquery-public-data.fec.cn20` AS cn USING (cand_id)
GROUP BY cn.cand_name
ORDER BY pac_usd DESC
LIMIT 10;

Querying it cheaply

  • Most of the 78.5 GiB is individual contributions: indiv20 (33.8 GiB), individuals_ingest_2020 (18.0 GiB), indiv18 (3.8 GiB), indiv16 (3.5 GiB). Everything else is small.
  • No table is partitioned or clustered. Filtering indiv20 by state or transaction_dt does not cut bytes; choosing columns does. name, employer and occupation are the heavy text columns.
  • SELECT * ... LIMIT 100 on indiv20 bills the whole 33.77 GiB. Preview the table in the console or select two or three columns.
  • Develop joins on an older cycle (for example indiv16, 3.5 GiB) and switch to indiv20 only for the final run.
  • If you need several cycles at once, use a wildcard such as indiv* with _TABLE_SUFFIX IN ('16', '18', '20'); note that indiv* also matches indiv16_cm16.

FAQ

How much does it cost to query FEC data in BigQuery?

Queries on committees and candidates bill the 10 MB minimum. Queries on individual contributions range from a few hundred MiB for 1980s cycles to 33.77 GiB for SELECT * on 2020. A full indiv20 scan is about 3% of the monthly free TiB.

Is the FEC dataset free?

Google pays for storing public datasets, so you never pay storage for them. You pay only for the bytes your queries scan, billed to your own project at the on-demand rate, and the first 1 TiB scanned each month is free. See BigQuery pricing.

Does the BigQuery FEC dataset include 2022 or 2024?

No. The newest tables are for the 2020 cycle (indiv20, cn20, cm20, pas220). For later cycles download bulk data from fec.gov.

What does the number in table names mean?

It is the last two digits of the election cycle: indiv20 is 2019 to 2020, indiv98 is 1997 to 1998. pas2 tables add the cycle after the 2, so pas220 is the 2020 cycle.

All public datasets · BigQuery cost queries · Pricing calculator

Cut BigQuery spend without guessing

Masthead attributes compute and storage cost to every project, user, pipeline and table, finds unused and dead-end tables, and shows where editions or on-demand pricing is cheaper. Mnemonic cut its BigQuery compute cost by 20% within 24 hours of onboarding.