Data Product Overview

GET https://public.richdataservices.com/rds/api/catalog/us_election_2020/538_presidential_state_toplines_2020

This request returns the data product from the RDS API. It contains descriptive properties such as the data product name, label, description, a citation of the source of the data, provenance information, when the product was last updated, and any additional notes that may be needed to further understand the data or how to use it.

RESPONSES

status: OK

{"cacheLastCleared":"2021-03-16T06:30:09.538Z","cached":true,"citation":"\u003ca href=\"https://projects.fivethirtyeight.com/2020-general-data/presidential_state_toplines_2020.csv\" target=\"_blank\"\u003ePresidential State Toplines 2020\u003c/a\u003e data by \u003ca href=\"https://github.com/dmil\" target=\"_blank\"\u003edmil\u003c/a\u003e at \u003ca href=\"https://www.fivethirtyeight.com\" target=\"_blank\"\u003eFiveThirtyEight\u003c/a\u003e, licensed under \u003ca href=\"https://creativecommons.org/licenses/by/4.0/\" target=\"_blank\"\u003eCC BY 4.0\u003c/a\u003e","description":"State topline data for the U.S. 2020 Presidential elections. Each record measures the chances of winning the state, the chances of winning the Electoral College in the event of a state victory, incumbent margins, and forecasted voteshare per candidate for a state on a particular date that simulations were run.","id":"538_presidential_state_toplines_2020","isPrivate":false,"lastUpdate":"2020-09-04T12:44:32.017Z","name":"538 Presidential State Toplines 2020","note":"\u003cstrong\u003eTime Series\u003c/strong\u003e\u003cp\u003eThis data product is a time series, as such, the \u003cem\u003edate_modeled\u003c/em\u003e should be included in any tabulations performed on it. In addition, tabulations should be created using the sum of a measure rather than the count or percentage of records.\u003c/p\u003e","provenance":"\u003cp\u003eThis data product is created through cleaning and simple transformations applied to the \u003ca href=\"https://projects.fivethirtyeight.com/2020-general-data/presidential_state_toplines_2020.csv\" target=\"_blank\"\u003ePresidential State Toplines 2020 CSV\u003c/a\u003e provided by \u003ca href=\"https://www.fivethirtyeight.com\" target=\"_blank\"\u003eFiveThirtyEight\u003c/a\u003e through their \u003ca href=\"https://github.com/fivethirtyeight/data/tree/master/election-forecasts-2020\" target=\"_blank\"\u003egithub repository\u003c/a\u003e. This data is pulled daily.\u003c/p\u003e\u003cstrong\u003eData Curation and Transformation\u003c/strong\u003e\u003cp\u003eThe following data curation and transformation steps have been performed on the source data file.\u003c/p\u003e\u003cul\u003e\u003cli\u003eMany variables have been renamed to be more descriptive and unified by topic.\u003c/li\u003e\u003cli\u003eThe date_modeled variable has been reformatted to be an ISO 8601 date.\u003c/li\u003e\u003cli\u003eThe model variable has been coded.\u003c/li\u003e\u003cli\u003eThe state variable has been replaced with us_state_fips which has FIPS codes instead of state names.\u003c/li\u003e\u003cli\u003eThere were several records whose states were congressional districts, these have been dropped.\u003c/li\u003e\u003cli\u003eThe variables have be reorganized to have variables about the chance to win the Electoral College based on a state victory (and vice versa) grouped near the chances of state victory.\u003c/li\u003e\u003cli\u003eThe variables have been reorganized to have the modelling and simulation variables together at the end of the record.\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eFor more in-depth information about the data curation process or how this data product's variables were mapped from the source file, please visit this data product's \u003ca href=\"https://github.com/mtna/data-public/tree/master/data/fivethirtyeight/election-forecasts-2020/presidential-state-toplines-2020\" target=\"_blank\"\u003egithub repository\u003c/a\u003e.\u003c/p\u003e","uri":"42aca976-ce8d-4b71-a658-b3b6fb88b2cc"}