| pub_covid_hosp_facility | R Documentation | 
API docs: https://cmu-delphi.github.io/delphi-epidata/api/covid_hosp_facility.html
Obtains the COVID-19 reported patient impact and hospital capacity data by
facility. This dataset is provided by the US Department of Health & Human
Services. The companion function pub_covid_hosp_facility_lookup() can be
used to look up facility identifiers in a variety of ways.
pub_covid_hosp_facility(
  hospital_pks,
  collection_weeks = "*",
  ...,
  publication_dates = NULL,
  fetch_args = fetch_args_list()
)
| hospital_pks | character. Facility identifiers. | 
| collection_weeks | 
 | 
| ... | not used for values, forces later arguments to bind by name | 
| publication_dates | 
 | 
| fetch_args | 
 | 
Starting October 1, 2022, some facilities are only required to report annually.
tibble::tibble
pub_covid_hosp_facility(), epirange()
## Not run: 
pub_covid_hosp_facility(
  hospital_pks = "100075",
  collection_weeks = epirange(20200101, 20200501)
)
pub_covid_hosp_facility(
  hospital_pks = "050063",
  collection_weeks = epirange(20240101, 20240301)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.