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

get_county_from_cdpR Documentation

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

Description

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

Usage

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

Arguments

fips

five-digit fips

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_county_from_cdp(21027,cdp)

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