| get_state_from_cdp | R Documentation | 
Function use compact csse data (c,d,p) to return a datatable for a specific state only
get_state_from_cdp(
  cdp,
  state = NULL,
  fix_cumul = FALSE,
  type = c("mid", "low", "high")
)
cdp | 
 compact version of cases, deaths, population as return from cssedata(return_compact=T)  | 
state | 
 string (default is NULL, will return all states), otherwise specifiy a specifc state abbreviation (i.e. "TX") or state name (i.e. "Texas")  | 
fix_cumul | 
 (logical, default=F); set to TRUE to fix cumulative data  | 
type | 
 (string, default="mid"); strategy to fix cumulative data  | 
get_state_from_cdp(cdp, "MD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.