Description Usage Arguments Details Value
TODO - better names for these functions
1 2 3 4 | decompose_date(date, week_style = c("nam", "iso"), use_year = TRUE)
mutate_decompose_date(.data, date = .data$date, week_style = "nam",
use_year = TRUE)
|
date |
|
week_style |
|
use_year |
|
.data |
|
One is used to operate on a vector, the other to operate on a data frame.
Talk about ISO weeks, talk about using years.
decompose_date:
tbl_df
with variables:
integer
, year to which the week belongs
integer
, number of week
integer
, identifies the day in the week
mutate_decompose_date()
:
.data
, with additional columns generated using decompose_date()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.