Description Usage Arguments Value
View source: R/preprocess-data.R
Pivots date column names into one colum
1 | pivot_longer_by_date(data, date_format = "\\d+\\/\\d+\\/\\d+")
|
data |
A dataframe with data columns |
date_format |
A regular expression to detect the date columns (default value matches DD/MM/YYY); works with dplyr's 'matches' function to select date columns) |
A dataframe in a long format (containing a new date column)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.