Skip to contents

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.

Usage

pub_covid_hosp_facility(
  hospital_pks,
  collection_weeks = "*",
  ...,
  publication_dates = NULL,
  fetch_args = fetch_args_list()
)

Arguments

hospital_pks

character. Facility identifiers.

collection_weeks

timeset. Dates (corresponding to epiweeks) to fetch. Defaults to all ("*") dates.

...

not used for values, forces later arguments to bind by name

publication_dates

timeset. Publication dates to fetch.

fetch_args

fetch_args. Additional arguments to pass to fetch().

Details

Starting October 1, 2022, some facilities are only required to report annually.

See also

pub_covid_hosp_facility(), epirange()

Examples

if (FALSE) {
pub_covid_hosp_facility(
  hospital_pks = "100075",
  collection_weeks = epirange(20200101, 20200501)
)

pub_covid_hosp_facility(
  hospital_pks = "100075",
  collection_weeks = epirange(202001, 202005)
)
}