create_clean_reported_cases | R Documentation |
Filters leading zeros, completes dates, and applies an optional threshold at
which point 0 cases are replaced with a user supplied value (defaults to
NA
).
create_clean_reported_cases(
data,
horizon = 0,
filter_leading_zeros = TRUE,
zero_threshold = Inf,
fill = NA_integer_,
add_breakpoints = TRUE
)
A cleaned data frame of reported cases
## Not run:
create_clean_reported_cases(example_confirmed, 7)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.