Skip to contents

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)

Arguments

reference_date

hub forecasting reference date

horizons

Vector of forecast horizons to include, in weeks ahead of the reference_date. Default -1:3 (FluSight and Covidhub 2024/25 horizons).

Value

a tibble with columns reference_date, horizon, target_end_date, epiweek, and epiyear.