Description Usage Arguments Value Examples
View source: R/preprocess-data.R
Day column where day = 1 corresponds to the first date with at least n 'number_of_cases'
1 | create_day_sequence(data, number_of_cases = 100)
|
data |
A dataframe (suits with dataframe generated by |
number_of_cases |
Defaul value: 100, Integer, indicating the minimum number of cases (infections/ deaths/ recovered) |
A dataframe (with an additional day colum as incremental integers starting at 1)
1 2 3 4 5 | ## Not run:
data <- read_corona()
data %>% create_day_sequence()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.