Description Usage Arguments Details Value Examples
View source: R/preprocess-data.R
This function species the statistic to use in a subsequent analysis. At the moment, three stistics are available:
1 | specify_statistic(corona_data, statistic)
|
corona_data |
A dataframe (tibble) imported with 'read_corona' |
statistic |
A character string |
1. infections 2. deaths 3. recoveries
A data.frame (tibble) with columns country, date, statistic
1 2 3 4 5 6 | ## Not run:
data <- read_corona()
data %>%
specify_statistic("infections")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.