covid_20210307 | R Documentation |
This data set contains the number of confirmed and probable COVID-19 deaths and cases in U.S. states through March 7th, 2021 along with some very basic demographic information. While the data are taken from official sources, they are only intended for demonstration purposes.
data(covid_20210307)
A data frame with 50 rows and 7 variables
state name
state name abbreviation
number of confirmed and probable COVID-19 deaths
number of confirmed and probable COVID-19 cases
population 5-year estimate from the 2017 American Community Survey
median income (U.S. dollars) 5-year estimate from the 2017 American Community Survey
estimated percentage of population > 25 years old with a high school diploma based on the 2010 Census
estimated percentage of population > 25 years old with a Bachelor's degree based on the 2010 Census
difference between percentage of voters who voted for Joseph Biden versus Donald Trump in the 2020 election. This is (total Biden votes - total Trump votes) * 100 / (total Biden votes + total Trump votes)
https://covidtracking.com/data/download (Accessed 2020-03-08) and https://www.census.gov MIT Election Data and Science Lab, 2017, "U.S. President 1976–2020", https://doi.org/10.7910/DVN/42MVDX, Harvard Dataverse, V6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.