Description
Check time series dataframe
Usage
check_ts(data, date_col, allow_non_num = TRUE, verbose = FALSE)
Arguments
- data
The dataframe containing the column specified
- date_col
The date column name as a string
- allow_non_num
A boolean to specify whether to include only date and numeric columns
- verbose
A boolean to specify whether to print warnings
Details
Check if dataframe contains specified date column and that its data-type