API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Dataset Files
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
/fivethirtyeight/congress-trump-score/
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/README.md
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/data/averages.csv
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/data/vote_predictions.csv
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/datapackage.json
Key Files
Start with these files — they give you everything you need to understand and access the dataset.
datapackage.json— metadata & schema
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/datapackage.json
README.md— documentation
https://datahub.io/fivethirtyeight/congress-trump-score/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIaverages
| Field | Type | Format |
|---|---|---|
| chamber | string | default |
| bioguide | string | default |
| last_name | string | default |
| state | string | default |
| district | integer | default |
| party | string | default |
| votes | integer | default |
| agree_pct | number | default |
| predicted_agree | number | default |
| net_trump_vote | number | default |
Download
Download CSVAbout
- Last updated
- 12 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 40.8 kB
vote_predictions
| Field | Type | Format |
|---|---|---|
| bill_id | string | default |
| roll_id | string | default |
| chamber | string | default |
| voted_at | string | default |
| bioguide | string | default |
| vote | string | default |
| trump_position | string | default |
| last_name | string | default |
| state | string | default |
| district | integer | default |
| party | string | default |
| agree | integer | default |
| yesno | integer | default |
| predicted_probability | number | default |
Download
Download CSVAbout
- Last updated
- 12 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 4.46 MB
About this dataset
Congress Trump Score
This file contains links to the data behind Tracking Congress In The Age Of Trump.
This dataset was scraped from FiveThirtyEight - congress-trump-score