Dataset Preview
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', 'national_total', 'official_id', 'approval_pct', 'national_disapprove_count', 'state', 'party', 'official_name', 'national_approve_count'}) and 6 missing columns ({'disapprove_count', 'no_opinion_count', 'bill_id', 'total_votes', 'approve_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 6ad16c852706e79075051af5de0aa570014d17af), [/tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/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 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, 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 1892, 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', 'national_total', 'official_id', 'approval_pct', 'national_disapprove_count', 'state', 'party', 'official_name', 'national_approve_count'}) and 6 missing columns ({'disapprove_count', 'no_opinion_count', 'bill_id', 'total_votes', 'approve_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 6ad16c852706e79075051af5de0aa570014d17af), [/tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/bill_vote_distributions/bill_vote_distributions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/bill_vote_distributions/bill_vote_distributions.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/citizen_approval/citizen_approval.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/citizen_approval/citizen_approval.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_bills/federal_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_bills/federal_bills.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_floor_votes/federal_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_floor_votes/federal_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_industry_funding/federal_industry_funding.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_industry_funding/federal_industry_funding.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/federal_officials/federal_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/federal_officials/federal_officials.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/industry_taxonomy/industry_taxonomy.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/industry_taxonomy/industry_taxonomy.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/money_trail/money_trail.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/money_trail/money_trail.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/pfp_predictions/pfp_predictions.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/pfp_predictions/pfp_predictions.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_bills/state_bills.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/state_bills/state_bills.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_floor_votes/state_floor_votes.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/state_floor_votes/state_floor_votes.csv), /tmp/hf-datasets-cache/medium/datasets/13865406941486-config-parquet-and-info-truthinpolling-tip-civic--8386061f/hub/datasets--truthinpolling--tip-civic-data/snapshots/6ad16c852706e79075051af5de0aa570014d17af/state_officials/state_officials.csv (origin=hf://datasets/truthinpolling/tip-civic-data@6ad16c852706e79075051af5de0aa570014d17af/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 |
hr1047-119 | H.R.1047 | 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 |
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 |
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 |
s3812-119 | S.3812 | 0 | 0 | 1 | 1 |
hr2196-119 | H.R.2196 | 1 | 0 | 0 | 1 |
s1277-119 | S.1277 | 1 | 0 | 0 | 1 |
hr5184-119 | H.R.5184 | 0 | 1 | 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 |
hr1958-119 | H.R.1958 | 1 | 0 | 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 |
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 |
hr3616-119 | H.R.3616 | 1 | 0 | 0 | 1 |
hr4928-119 | H.R.4928 | 0 | 0 | 1 | 1 |
hr5574-119 | H.R.5574 | 0 | 2 | 0 | 2 |
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 |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
hr5616-119 | H.R.5616 | null | null | null | null |
hr5304-119 | H.R.5304 | null | null | null | null |
hr1772-119 | H.R.1772 | null | null | null | null |
hr6170-119 | H.R.6170 | null | null | null | null |
hr599-119 | H.R.599 | null | null | null | null |
hres855-119 | H.Res.855 | null | null | null | null |
End of preview.
TIP Civic Data — U.S. Legislative 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,242 |
| state_bills | State legislation across 49 states | 8,422 |
| federal_officials | Current members of Congress | 540 |
| state_officials | State legislators across 49 states | 7,392 |
| federal_floor_votes | Congressional roll call votes | 155,646 |
| state_floor_votes | State legislative roll call votes | 28,495 |
| citizen_approval | Aggregated citizen approval ratings (no PII) | 32 |
| bill_vote_distributions | Aggregated citizen bill votes (no PII) | 62 |
| federal_industry_funding | PAC industry funding per official (FEC) | 16,361 |
| pfp_predictions | Multi-factor vote predictions per official per bill | 20,387 |
| money_trail | Donor→vote→contract industry triangles | 109,438 |
| industry_taxonomy | CRP/OpenSecrets industry classification codes | 92 |
Update Frequency
Weekly (Sundays). Last refreshed: 2026-03-29.
License
CC BY 4.0 — free to use with attribution.
Citation
@misc{tip_civic_data_2026,
title={TIP Civic Data: U.S. Legislative 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
- 69