Get a correctly-formatted set of hubverse target_end_date
values for the given reference date and set of horizons.
Source: R/to_hubverse.R
target_end_dates_from_horizons.Rd
Get a correctly-formatted set of hubverse
target_end_date
values for the given reference
date and set of horizons.
Usage
target_end_dates_from_horizons(
reference_date,
horizons = -1:3,
horizon_timescale = c("days", "weeks")
)
Value
a tibble
with columns reference_date
,
horizon
, target_end_date
,
epiweek
, and epiyear
.