Closed
Description
See the implementation here: https://github.com/cmu-delphi/exploration-tooling/blob/77d7e5eb95e4b17f40567430b0233f6b24cf100a/R/latency_adjusting.R#L11.
- One possibility is as an argument to
step_epi_ahead()
.- pros: easier adjustment in current canned methods. Just add an argument to all the canned steps and proceed.
- cons: limits the flexibility to simply shifting based on explicit missingness (or carefully specified
target_date
). If thetarget_date
is autocalculated based on theas_of
for theepi_df
, the ahead could shift massively (say when using finalized data).
- The other is as a separate (new) step.
- pros: much more flexibility, if needed (do we?)
- cons: more difficult to propagate through downstream.
Deliverables:
- A new / adjusted step.
- Propagate throughout examples / vignettes where necessary.
- Check that all canned forecaster workflows operate appropriately.
- Add a vignette describing the behaviour and alternatives (LOCF implementation, imputing using steps in
{recipes}
) - Adjust
get_test_data()
as needed
Metadata
Metadata
Assignees
Labels
No labels