validateGroupVariable: Validate Group Variable

Description Usage Arguments Value Validation rules

Description

Checks the validity of a group variable, that is, a variable or set of variables that represents categories. 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.

groupVar

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

Value

A character. The constant .VALID if the variable is valid and an error message, otherwise.

Validation rules

The groupVar column type must be a factor in R and enum in the database.


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