covid_20210307: COVID-19 statistics

covid_20210307R Documentation

COVID-19 statistics

Description

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.

Usage

data(covid_20210307)

Format

A data frame with 50 rows and 7 variables

state_name

state name

state_abb

state name abbreviation

deaths

number of confirmed and probable COVID-19 deaths

cases

number of confirmed and probable COVID-19 cases

population

population 5-year estimate from the 2017 American Community Survey

income

median income (U.S. dollars) 5-year estimate from the 2017 American Community Survey

hs

estimated percentage of population > 25 years old with a high school diploma based on the 2010 Census

bs

estimated percentage of population > 25 years old with a Bachelor's degree based on the 2010 Census

vote_diff_2020

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)

Source

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


jfrench/bayesutils documentation built on April 10, 2023, 6:28 p.m.