ColumnChecks-class: Class 'ColumnChecks'

Description Usage Arguments Objects from the Class Slots See Also Examples

Description

An object containing column-level checks. The following constraint checks are implemented:

Usage

1
  ColumnChecks(classtype = "ANY", ...)

Arguments

classtype

Name of to class which the column must belong.

...

Data to be included in the object.

Objects from the Class

Objects can be created by calls of the form ColumnChecks(...).

Slots

classtype

character. Class type of object to be checked.

missings

logical. If FALSE, then no NA values are allowed in the object to be checked.

unique

logical. If FALSE, then duplicate values are allowed in the object to be checked.

constraints:

"FunctionList". Additional arbitrary constraints. Each function must return either TRUE if the constraint is satisfied, or FALSE if it is violated. These functions can also return vectors, in which case, the constraint is violated if there is any FALSE value.

See Also

Other Check.objects: ColumnCheckList, ColumnCheckList, TableChecks, TableChecks

Examples

1
showClass("ColumnChecks")

jrnold/r-checker documentation built on May 20, 2019, 1:04 a.m.