Description Usage Arguments Value
Split date object into 8 components(year, month, day, the day of week, hour, minute, second and timezone) to a format that works better when you want to specify the effect of year, month, day, the day of week, hour, minute, second or timezone.
1 | split_datetime(.data, ..., sep = "_", format = NULL)
|
.data |
A tbl. |
... |
One or more unquoted expressions separated by commas. You can treat variable names like they are positions. It supports [dplyr::select] comparable. |
sep |
Separator between columns. |
format |
a character string of formats. It should include all the separators and each format must be prefixed with argument of strptime. |
An object of the same class as .data with "preprocessing-chain" attribution. <prefix>weekday columns is the day of the week as a number (1-7, Sunday is 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.