You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the data retrieval from the get_cdc_hosp() function is failing when the "years" argument is used:
library(fiphde)
get_cdc_hosp(years=2019)
#> #> Error in `dplyr::filter()` at fiphde/R/retrieve.R:736:5:#> ℹ In argument: `season %in% years`.#> Caused by error:#> ! object 'season' not found
get_cdc_hosp(years="2019")
#> #> Error in `dplyr::filter()` at fiphde/R/retrieve.R:736:5:#> ℹ In argument: `season %in% years`.#> Caused by error:#> ! object 'season' not found
get_cdc_hosp(years="2019-20")
#> Warning in hospitalizations(surveillance_area = "flusurv", region = "all", :#> NAs introduced by coercion#> #> Error in `dplyr::filter()` at fiphde/R/retrieve.R:736:5:#> ℹ In argument: `season %in% years`.#> Caused by error:#> ! object 'season' not found
get_cdc_hosp(years="2019-2020")
#> Warning in hospitalizations(surveillance_area = "flusurv", region = "all", :#> NAs introduced by coercion#> #> Error in `dplyr::filter()` at fiphde/R/retrieve.R:736:5:#> ℹ In argument: `season %in% years`.#> Caused by error:#> ! object 'season' not found
The text was updated successfully, but these errors were encountered:
the data retrieval from the
get_cdc_hosp()
function is failing when the "years" argument is used:The text was updated successfully, but these errors were encountered: