Learn R Programming

linea (version 0.1.1)

check_ts: check_ts

Description

Check time series dataframe

Usage

check_ts(data, date_col, allow_non_num = TRUE, verbose = FALSE)

Value

checked data.frame

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