View source: R/utlede_variabler.R
utlede_tidsvariabler | R Documentation |
Add variables aar
, maaned_nr
(numerical month) and
maaned
(year + month) in data set based in dato_pros
.
utlede_tidsvariabler(df)
df |
data.frame with ablanor-data. Must contain |
Returns df
with 3 new columns
df <- data.frame(
dato_pros = as.Date(c("2021-10-05", "1998-01-16", "2020-07-07"),
format = "%Y-%m-%d"))
ablanor::utlede_tidsvariabler(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.