Data Dictionary

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

This request returns the data dictionary for the data product. The data dictionary is a simple listing of all the variables that make up the data product. This should include descriptive properties of each variable including its name, label, description, question text (if captured as part of a survey / questionnare) and any associated classification references. This is not meant to provide a detailed view of any particular variable, but a general overview of the variables that are available as part of the product.

RESPONSES

status: OK

[{"dataType":"TEXT","description":"The election cycle this forecast pertains to.","id":"election_cycle","index":1,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Election Cycle","name":"election_cycle","storageType":"VARCHAR","uri":"957545d3-1399-4e1c-b161-d159e8f58ad5"},{"dataType":"TEXT","description":"The kind of race this forecast pertains to.","id":"race_type","index":2,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Race Type","name":"race_type","storageType":"VARCHAR","uri":"e949bbb1-97fe-44b1-b8ae-b892e707bd79"},{"dataType":"TEXT","description":"Name of the incumbent candidate.","id":"name_incumbent","index":3,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Incumbent Candidate Name","name":"name_incumbent","storageType":"VARCHAR","uri":"4e0ed7f1-a1af-403f-aa0d-c9791b6dc934"},{"dataType":"TEXT","description":"Name of the challenging candidate.","id":"name_challenger","index":4,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Challenging Candidate Name","name":"name_challenger","storageType":"VARCHAR","uri":"8bab32a3-5e0f-4a1d-939b-fd25ef7d0ab2"},{"dataType":"TEXT","description":"Name of the third-party candidate.","id":"name_third","index":5,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Third-Party Candidate Name","name":"name_third","storageType":"VARCHAR","uri":"8fb4f456-d884-4307-94e2-be86c8c6eb8e"},{"dataType":"TEXT","description":"Name of the economic indicator.","id":"indicator_name","index":6,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Indicator Name","name":"indicator_name","storageType":"VARCHAR","uri":"492f057d-103a-429c-811e-63064b161570"},{"classificationId":"indicator_category","classificationUri":"94aa51b2-eec1-4494-8451-72e657845055","dataType":"TEXT","description":"The category that the indicator measures.","id":"indicator_category","index":7,"isDimension":true,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Indicator Category","name":"indicator_category","storageType":"CHAR","uri":"5e119e2a-c515-43f1-84e5-ae07e32dd83e"},{"dataType":"TEXT","description":"The number of standard deviations from the previous 2-year average for the current value of the indicator.","id":"zscore_current","index":8,"isDimension":false,"isMeasure":true,"isRequired":false,"isWeight":false,"label":"Current Z-Score","name":"zscore_current","storageType":"DOUBLE","uri":"06c9d05c-e93b-4fce-9705-3e0c4db950df"},{"dataType":"TEXT","description":"The number of standard deviations from the previous 2-year average for the projected value of the indicator on election day.","id":"zscore_projected","index":9,"isDimension":false,"isMeasure":true,"isRequired":false,"isWeight":false,"label":"Projected Z-Score","name":"zscore_projected","storageType":"DOUBLE","uri":"e2c613fe-7d8c-4e4f-ab4e-6610cd3313de"},{"dataType":"TEXT","description":"Lower bound of an 80% confidence interval for the projected z-score (zscore_projected).","id":"zscore_projected_lo","index":10,"isDimension":false,"isMeasure":true,"isRequired":false,"isWeight":false,"label":"Lower Bound - Projected Z-Score","name":"zscore_projected_lo","storageType":"DOUBLE","uri":"1401eb5c-b42f-4694-9b12-c96e0cd8d6e8"},{"dataType":"TEXT","description":"Upper bound of an 80% confidence interval for the projected z-score (zscore_projected).","id":"zscore_projected_hi","index":11,"isDimension":false,"isMeasure":true,"isRequired":false,"isWeight":false,"label":"Upper Bound - Projected Z-Score","name":"zscore_projected_hi","storageType":"DOUBLE","uri":"9296d625-fd3a-4aa4-93ab-1b7eb1ad8ba8"},{"classificationId":"model","classificationUri":"3b8f1723-1d2b-44f7-8390-ddc2c8592890","dataType":"TEXT","description":"The model type. Polls-plus is the only model being run for the 2020 presidential race (as opposed to polls-only). The polls-only model relies only on polls from a particular state, while the polls-plus model is based on state polls, national polls and endorsements as described \u003ca href=\"https://en.wikipedia.org/wiki/FiveThirtyEight\" target=\"_blank\"\u003ehere\u003c/a\u003e.","id":"model","index":12,"isDimension":true,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Model Type","name":"model","storageType":"CHAR","uri":"b008f89e-2b6b-4a30-9dba-55fc943d8088"},{"dataType":"DATE","description":"Date of the model run.","id":"date_modeled","index":13,"isDimension":true,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Model Date","name":"date_modeled","storageType":"DATE","uri":"bf35db18-6b44-4540-89e1-4e12c370bae6"},{"dataType":"TIME","description":"Date and time the simulations were run.","id":"simulation_timestamp","index":14,"isDimension":false,"isMeasure":false,"isRequired":false,"isWeight":false,"label":"Simulation Timestamp","name":"simulation_timestamp","storageType":"TIMESTAMP","uri":"964b5b5d-0787-45b1-b8b3-a1ba952b6431"},{"dataType":"NUMERIC","description":"Number of simulations run.","id":"simulation_count","index":15,"isDimension":false,"isMeasure":true,"isRequired":false,"isWeight":false,"label":"Number of Simulations","name":"simulation_count","storageType":"INTEGER","uri":"c9ea46b5-a4e7-47ae-b9de-3cb039d4e5bc"}]