Description Usage Arguments Value
View source: R/add_datefields.R
Adds ISO or CDC datefields to a data set with a "obs_date" (Date) field
1 | add_datefields(df, type = "ISO")
|
df |
Data table or tibble with a field named "obs_date" |
type |
String to indicate whether to use "ISO" ISO-8601 week of year (used by WHO) or "CDC" epi weeks. |
dataframe (or tibble) with week ('week_epidemiar') and year ('year_epidemiar') fields added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.