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', 'official_id', 'official_name', 'party', 'approval_pct', 'national_disapprove_count', 'state', 'national_approve_count', 'national_total'}) and 6 missing columns ({'bill_id', 'disapprove_count', 'approve_count', 'total_votes', 'no_opinion_count', 'bill_number'}).

This happened while the csv dataset builder was generating data using

hf://datasets/truthinpolling/tip-civic-data/citizen_approval/citizen_approval.csv (at revision e718a02290e57d24aad76c00584654f2234ffaa2), [/tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/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 2281, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2227, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              official_id: string
              official_name: double
              party: double
              state: double
              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, "' + 1409
              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', 'official_id', 'official_name', 'party', 'approval_pct', 'national_disapprove_count', 'state', 'national_approve_count', 'national_total'}) and 6 missing columns ({'bill_id', 'disapprove_count', 'approve_count', 'total_votes', 'no_opinion_count', 'bill_number'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/truthinpolling/tip-civic-data/citizen_approval/citizen_approval.csv (at revision e718a02290e57d24aad76c00584654f2234ffaa2), [/tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/84069321831572-config-parquet-and-info-truthinpolling-tip-civic--a85bdfee/hub/datasets--truthinpolling--tip-civic-data/snapshots/e718a02290e57d24aad76c00584654f2234ffaa2/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@e718a02290e57d24aad76c00584654f2234ffaa2/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
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
hr6387-119
H.R.6387
1
0
0
1
hr5401-119
H.R.5401
1
0
0
1
hr1011-119
H.R.1011
1
0
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
hr6020-119
H.R.6020
0
0
1
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
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
hr7901-119
H.R.7901
null
null
null
null
s718-119
S.718
null
null
null
null
hr5626-119
H.R.5626
null
null
null
null
hr4352-119
H.R.4352
null
null
null
null
hres1083-119
H.Res.1083
null
null
null
null
hr7641-119
H.R.7641
null
null
null
null
hr6646-119
H.R.6646
null
null
null
null
hr4238-119
H.R.4238
null
null
null
null
hres735-119
H.Res.735
null
null
null
null
sconres21-119
S.Con.Res.21
null
null
null
null
hr7198-119
H.R.7198
null
null
null
null
hr7844-119
H.R.7844
null
null
null
null
hr6220-119
H.R.6220
null
null
null
null
s3733-119
S.3733
null
null
null
null
hr7404-119
H.R.7404
null
null
null
null
sres466-119
S.Res.466
null
null
null
null
hr82-119
H.R.82
null
null
null
null
hr7558-119
H.R.7558
null
null
null
null
s3635-119
S.3635
null
null
null
null
s3926-119
S.3926
null
null
null
null
hr7886-119
H.R.7886
null
null
null
null
s2879-119
S.2879
null
null
null
null
hr14-119
H.R.14
null
null
null
null
hr286-119
H.R.286
null
null
null
null
s994-119
S.994
null
null
null
null
hr7176-119
H.R.7176
null
null
null
null
End of preview.

TIP Civic Data — U.S. Government Accountability 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,772
state_bills State legislation across 49 states 8,422
federal_officials Current members of Congress 540
state_officials State legislators across 49 states 7,693
federal_floor_votes Congressional roll call votes 163,631
state_floor_votes State legislative roll call votes 69,473
citizen_approval Aggregated citizen approval ratings (no PII) 5
bill_vote_distributions Aggregated citizen bill votes (no PII) 63
federal_industry_funding PAC industry funding per official (FEC) 16,361
pfp_predictions Multi-factor vote predictions per official per bill 25,119
money_trail Donor→vote→contract industry triangles 109,438
industry_taxonomy CRP/OpenSecrets industry classification codes 93
state_campaign_finance State campaign finance contributions ($200+ threshold, 18 states) 0

Update Frequency

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

License

CC BY 4.0 — free to use with attribution.

Citation

@misc{tip_civic_data_2026,
  title={TIP Civic Data: U.S. Government Accountability 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
148