validateTimeVariable: Validate Time Variables

Description Usage Arguments Value Validation rule

Description

Checks the validity of a time variable. It uses a direct connection to the dzVis database or a data.frame as the data source.

Usage

1

Arguments

data

A data.frame with the actual data source or a character containing the name of the table in the dzVis database. If it is a data.frame, a connection to the dzVis database WILL NOT be estabilished. If it is a character, a connection WILL be estabilished.

timeVar

A character. The name of the column to be checked.

Value

TRUE if timeVar is valid and FALSE, otherwise.

Validation rule

The column timeVar type must be Date in R and date or datetime in the database.


talithafs/dzVis-Package documentation built on May 31, 2019, 2:54 a.m.