tk_get_timeseries_variables | R Documentation |
Get date or datetime variables (column names)
tk_get_timeseries_variables(data)
data |
An object of class |
tk_get_timeseries_variables
returns the column names of date or datetime variables
in a data frame.
Classes that meet criteria for return include those that inherit
POSIXt
, Date
, zoo::yearmon
, zoo::yearqtr
. Function was adapted from padr:::get_date_variables()
.
See padr helpers.R
tk_get_timeseries_variables
returns a vector containing column names of date-like classes.
library(dplyr)
FANG %>%
tk_get_timeseries_variables()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.