View source: R/get_covid_state.R
| get_covid_state | R Documentation | 
This functions hits the Johns Hopkins Covid Data Repository and filters down to North Carolina Data. Alternatively, it can retrieve any state.
get_covid_state(
  state = "North Carolina",
  select_county = NULL,
  data_source = c("cone", "hopkins"),
  reporting_adj = FALSE
)
state | 
 with a default of North Carolina  | 
select_county | 
 the county, if desired  | 
data_source | 
 which data source you would like to use one of "cone" or "hopkins"  | 
reporting_adj | 
 a boolean, default of   | 
## Not run: 
# To get all counties
get_covid_state()
# To get a single county
get_covid_state(select_county = "Guilford")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.