Weekly confirmed COVID-19 hospital admissions for New York (CDC NHSN), with
revision history, fetched via get_data; pass through
check_data to use it. Covers Aug 2020 to Mar 2026.
Format
A data frame with 5 columns:
- as_of
Date the observation was reported.
- location
State abbreviation (
"NY").- target
Forecast target (
"wk inc covid hosp").- target_end_date
End date of the epiweek.
- observation
Confirmed hospital admissions count.
Source
CDC NHSN via pub_covidcast.
Examples
if (FALSE) { # \dontrun{
example_data |> check_data()
} # }
