get_all_states_from_cdp: Get all states from cdp

get_all_states_from_cdpR Documentation

Get all states from cdp

Description

This function extends the approach of get_state_from_cdp(), returning all states in long format, rather than a single state

Usage

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

Arguments

cdp

this is a cdp list as returned by 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_all_states_from_cdp(cdp)

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