get_us_from_cdp: Function to just get a US from c,d,p

get_us_from_cdpR Documentation

Function to just get a US from c,d,p

Description

Function use compact csse data (c,d,p) to return a datatable for entire US

Usage

get_us_from_cdp(cdp, fix_cumul = FALSE, type = c("mid", "low", "high"))

Arguments

cdp

compact version of cases, deaths, population as return from cssedata(return_compact=T)

fix_cumul

(logical, default=F); set to TRUE to fix cumulative data

type

(string, default="mid"); strategy to fix cumulative data

Examples

get_us_from_cdp(c,d,p)

lmullany/rawcoviddata documentation built on March 21, 2023, 10:04 a.m.