API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
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 Previews
averages
Loading data...
Schema
| name | 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 |
vote_predictions
Loading data...
Schema
| name | 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 |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
averages | 40.8 kB | about 1 month ago | averages | |
vote_predictions | 4.46 MB | about 1 month ago | vote_predictions |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 2 | 4.5 MB | csv | about 1 month ago | FiveThirtyEight - Congress Trump Score |
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