Description Usage Arguments Examples
This function allows you to identify the index or the name of the columns in a data.frame that are in Date or POSIXct format
1 | detect_datecol(df, format = NULL, return = "index")
|
df |
data.frame |
format |
string, the format you are looking for, one of Date or POSIXct. If null, both are considered |
return |
string, what should the function return as result, either the index or the name of the columns, one of index or name. |
1 | detect_datecol(df, format = 'Date', return = 'name')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.