View source: R/utility_tools.R
data2SE | R Documentation |
Find to which epidemiological week belongs a given day. Uses episem function (formula generated data).
data2SE(days, format = "%d/%m/%Y")
days |
string vector with dates to be converted |
format |
date format |
numeric vector with the epidemiological weeks.
data2SE("01-02-2020",format="%d-%m-%Y")
data2SE("12-02-2008",format="%d-%m-%Y")
data2SE(c("03-04-2013","07-01-2019"),format="%d-%m-%Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.