Returns a data frame with the names of the supported time units, the classes that can handle each time unit, and a the threshold used to identify what time units can be used when aggregating a time series.
utils_time_units(all_columns =FALSE, class =NULL)
Arguments
all_columns: (optional, logical) If TRUE, all columns are returned. Default: FALSE
class: (optional, class name). Used to filter rows and columns. Accepted values are "numeric", "Date", and "POSIXct". Default: NULL
Returns
data frame
Examples
df <- utils_time_units()head(df)
See Also
Other internal_time_handling: utils_as_time(), utils_coerce_time_class(), utils_is_time(), utils_new_time(), utils_time_keywords(), utils_time_keywords_dictionary(), utils_time_keywords_translate()