_targets_r/targets/scored_nowcasts.R

tar_target(scored_nowcasts, {
  summarised_nowcast[location == locations][
    reference_date < (max(nowcast_date) - 28)][,
    holiday := NULL][,
    horizon := as.numeric(as.Date(reference_date) - nowcast_date)][
    horizon >= -7
  ]
})
epiforecasts/eval-germany-sp-nowcasting documentation built on July 7, 2022, 8:56 p.m.