pub_covid_hosp_facility {epidatr}R Documentation

COVID hospitalizations by facility

Description

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.

Value

tibble::tibble

See Also

pub_covid_hosp_facility(), epirange()

Examples

## Not run: 
pub_covid_hosp_facility(
  hospital_pks = "100075",
  collection_weeks = epirange(20200101, 20200501)
)

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

## End(Not run)

[Package epidatr version 1.2.0 Index]