knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

covidmodeldata

The goal of covidmodeldata is to download and format data

Installation

remotes::install_github("nset-ornl/covidmodeldata")

Download and Format New York Times Data

The fields ending in _mdl are the modeled data. The fields not ending with mdl match the originally reported values. If a state is skiped such as Rhode Island, the _mdl values for that state will match the original values while values for other states will be the modeled values.

library(covidmodeldata)
library(tidyverse)

df <- get_nyt() %>%
  format_nyt(
    skip_assignment = c("44") # don't assign Rhode Island cases
    )
library(covidmodeldata)
library(tidyverse)

df <- get_nyt() %>%
  format_nyt(
    skip_assignment = c("44") # don't assign Rhode Island cases
    )

glimpse(df)
glimpse(df)

ACS data and Geometries

glimpse(acs_data)

Landscan USA Population Data

glimpse(landscan_usa)


nset-ornl/covidmodeldata documentation built on June 3, 2020, 2:46 a.m.