View source: R/data-scenarios.R
update_obs_availability | R Documentation |
Update observations based on availability
update_obs_availability(obs, cases_lag, seq_lag)
obs |
A |
cases_lag |
Number of weeks that case data takes to be reported. Defaults to not alter the input data. |
seq_lag |
Number of weeks that sequence data takes to be reported. Defaults to not alter the input data. |
A data.frame
of observations with updated case and
sequence availability dates.
Functions to define and create data scenarios
define_scenarios()
,
generate_obs_scenario()
update_obs_availability(
germany_covid19_delta_obs,
cases_lag = 2, seq_lag = 3
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.