Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 9 new columns ({'national_dont_know_count', 'party', 'national_approve_count', 'official_name', 'national_total', 'official_id', 'national_disapprove_count', 'state', 'approval_pct'}) and 6 missing columns ({'bill_id', 'bill_number', 'disapprove_count', 'total_votes', 'no_opinion_count', 'approve_count'}).

This happened while the csv dataset builder was generating data using

hf://datasets/truthinpolling/tip-civic-data/citizen_approval/citizen_approval.csv (at revision beff523df7722d0268025d8b87f189eda3b80f7f), [/tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_officials/state_officials.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1893, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              official_id: string
              official_name: string
              party: string
              state: string
              national_approve_count: int64
              national_disapprove_count: int64
              national_dont_know_count: int64
              national_total: int64
              approval_pct: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1407
              to
              {'bill_id': Value('string'), 'bill_number': Value('string'), 'approve_count': Value('int64'), 'disapprove_count': Value('int64'), 'no_opinion_count': Value('int64'), 'total_votes': Value('int64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1895, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 9 new columns ({'national_dont_know_count', 'party', 'national_approve_count', 'official_name', 'national_total', 'official_id', 'national_disapprove_count', 'state', 'approval_pct'}) and 6 missing columns ({'bill_id', 'bill_number', 'disapprove_count', 'total_votes', 'no_opinion_count', 'approve_count'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/truthinpolling/tip-civic-data/citizen_approval/citizen_approval.csv (at revision beff523df7722d0268025d8b87f189eda3b80f7f), [/tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/43682743760944-config-parquet-and-info-truthinpolling-tip-civic--baae63b1/hub/datasets--truthinpolling--tip-civic-data/snapshots/beff523df7722d0268025d8b87f189eda3b80f7f/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@beff523df7722d0268025d8b87f189eda3b80f7f/state_officials/state_officials.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

bill_id
string
bill_number
string
approve_count
int64
disapprove_count
int64
no_opinion_count
int64
total_votes
int64
s843-119
S.843
1
0
0
1
hr1710-119
H.R.1710
1
0
0
1
s688-119
S.688
1
0
0
1
hr4392-119
H.R.4392
0
1
0
1
hr4619-119
H.R.4619
1
0
0
1
s3171-119
S.3171
1
0
0
1
hr1343-119
H.R.1343
1
0
0
1
hr504-119
H.R.504
0
1
0
1
hr1676-119
H.R.1676
0
1
0
1
hr5760-119
H.R.5760
2
0
0
2
hr1296-119
H.R.1296
0
1
0
1
hr4886-119
H.R.4886
0
1
0
1
hr7892-119
H.R.7892
1
0
0
1
hr7074-119
H.R.7074
1
0
0
1
s1092-119
S.1092
0
1
0
1
hr5401-119
H.R.5401
1
0
0
1
hr1011-119
H.R.1011
1
0
0
1
hr4721-119
H.R.4721
0
1
0
1
hr6920-119
H.R.6920
1
0
0
1
s3446-119
S.3446
0
1
0
1
hr845-119
H.R.845
1
0
0
1
s6-119
S.6
0
1
0
1
hr2196-119
H.R.2196
1
0
0
1
s1277-119
S.1277
1
0
0
1
hr5222-119
H.R.5222
0
1
0
1
s2838-119
S.2838
0
1
0
1
hr6924-119
H.R.6924
0
1
0
1
hr6474-119
H.R.6474
0
1
0
1
hr5442-119
H.R.5442
0
0
1
1
hr5388-119
H.R.5388
0
0
1
1
hr6652-119
H.R.6652
1
0
0
1
hr6662-119
H.R.6662
2
0
0
2
hr4776-119
H.R.4776
1
0
0
1
s1204-119
S.1204
0
0
1
1
s607-119
S.607
0
1
0
1
hr4855-119
H.R.4855
0
0
1
1
s609-119
S.609
0
1
0
1
s2738-119
S.2738
0
1
0
1
hr2312-119
H.R.2312
1
0
0
1
s9-119
S.9
1
0
0
1
hr6449-119
H.R.6449
1
0
0
1
hr2270-119
H.R.2270
0
1
0
1
hr4457-119
H.R.4457
0
2
0
2
s2406-119
S.2406
1
0
0
1
hr6713-119
H.R.6713
0
2
0
2
hr2683-119
H.R.2683
1
0
0
1
hr2830-119
H.R.2830
0
1
0
1
hr5709-119
H.R.5709
1
0
0
1
hr6031-119
H.R.6031
0
2
0
2
hr5275-119
H.R.5275
0
0
1
1
hr6418-119
H.R.6418
0
1
0
1
hr5464-119
H.R.5464
0
1
0
1
hr5491-119
H.R.5491
0
0
1
1
hr345-119
H.R.345
0
2
0
2
hr1608-119
H.R.1608
1
0
0
1
hr2659-119
H.R.2659
1
0
0
1
hr1949-119
H.R.1949
1
0
0
1
hr3492-119
H.R.3492
1
0
0
1
hr4928-119
H.R.4928
0
0
1
1
hr5574-119
H.R.5574
0
2
0
2
hr7813-119
H.R.7813
1
0
0
1
hr6787-119
H.R.6787
0
1
0
1
hr7991-119
H.R.7991
1
0
0
1
hr7965-119
H.R.7965
0
1
0
1
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
hr1558-119
H.R.1558
null
null
null
null
sjres29-119
S.J.Res.29
null
null
null
null
s1602-119
S.1602
null
null
null
null
hr6908-119
H.R.6908
null
null
null
null
hr3334-119
H.R.3334
null
null
null
null
s3621-119
S.3621
null
null
null
null
s718-119
S.718
null
null
null
null
End of preview.

TIP Civic Data — U.S. Political Transparency Dataset

Nonpartisan civic accountability data from Truth In Polling (501(c)(3) nonprofit).

Includes federal and state legislation, official voting records, citizen approval ratings, campaign finance industry funding, multi-factor vote predictions, and donor-to-vote-to-contract money trail analysis.

Datasets

File Description Rows
federal_bills Federal legislation (119th Congress) 6,528
state_bills State legislation across 49 states 8,422
federal_officials Current members of Congress 540
state_officials State legislators across 49 states 7,690
federal_floor_votes Congressional roll call votes 155,646
state_floor_votes State legislative roll call votes 57,980
citizen_approval Aggregated citizen approval ratings (no PII) 29
bill_vote_distributions Aggregated citizen bill votes (no PII) 64
federal_industry_funding PAC industry funding per official (FEC) 16,361
pfp_predictions Multi-factor vote predictions per official per bill 23,061
money_trail Donor→vote→contract industry triangles 109,438
industry_taxonomy CRP/OpenSecrets industry classification codes 92
state_campaign_finance State campaign finance contributions ($200+ threshold, 18 states) 0

Update Frequency

Weekly (Sundays). Last refreshed: 2026-04-12.

License

CC BY 4.0 — free to use with attribution.

Citation

@misc{tip_civic_data_2026,
  title={TIP Civic Data: U.S. Political Transparency Dataset},
  author={Truth In Polling, Inc.},
  year={2026},
  url={https://huggingface.co/datasets/truthinpolling/tip-civic-data},
  note={Weekly updated civic accountability data}
}

Methodology

See How It Works for scoring methodology.

API Access

For real-time queries, use the TIP Public API — 18 REST endpoints, 17 MCP tools.

Data Notes

  • All citizen-facing data (approval ratings, bill votes) is aggregated — no individual voter data is included.
  • Campaign finance data is from FEC bulk filings (1.6M federal contributions).
  • Money trail triangles correlate donations, votes, and contracts — correlation does not imply causation.
  • The United States is a Constitutional Republic.
Downloads last month
88