pub_covid_hosp_state_timeseries {epidatr} | R Documentation |
COVID hospitalizations by state
Description
API docs: https://cmu-delphi.github.io/delphi-epidata/api/covid_hosp.html.
Obtains the COVID-19 reported patient impact and hospital capacity data by state. This dataset is provided by the US Department of Health & Human Services.
Usage
pub_covid_hosp_state_timeseries(
states,
dates = "*",
...,
as_of = NULL,
issues = NULL,
fetch_args = fetch_args_list()
)
Arguments
states |
character. Two letter state abbreviations. |
dates |
|
... |
not used for values, forces later arguments to bind by name |
as_of |
Date. Optionally, the as of date for the issues to fetch. If not
specified, the most recent data is returned. Mutually exclusive with
|
issues |
|
fetch_args |
|
Details
Starting October 1, 2022, some facilities are only required to report annually.
Value
Examples
## Not run:
pub_covid_hosp_state_timeseries(
states = "fl",
dates = epirange(20200101, 20200501)
)
## End(Not run)