read_cdc_data: Read CDC Data

Description Usage Arguments Value Warning Examples

Description

Reads in CDC data from file and puts data into correct format.

Usage

1
read_cdc_data(data_to_read, region = FALSE)

Arguments

data_to_read

A string, path to data .csv file.

region

TRUE if incorporating interaction between regions, FALSE otherwise.

Value

Dataframe with cleaned up CDC data.

Warning

Data must contain 'cases' column and have time as the first column.

Examples

1
2
dat <- read_cdc_data("D:/School/TB_Research/data/cdc_cases.csv",
  region = FALSE)

kyamkovoy/RepNumEst documentation built on May 27, 2019, 2:07 p.m.