Download the longitudinal data, which we are storing as “covid”.
covid <- read.socrata(
"https://data.cdc.gov/resource/g653-rqe2.json",
app_token = "YOURAPPTOKENHERE",
email = "user@example.com",
password = "fakepassword"
)
Download the cross-sectional data, which we are storing as “counties”.
counties <- read.socrata(
"https://data.cdc.gov/resource/2ew6-ywp6.json",
app_token = "YOURAPPTOKENHERE",
email = "user@example.com",
password = "fakepassword"
)