constraints.checkUnique: Check if a field is unique

View source: R/constraints.checkUnique.R

constraints.checkUniqueR Documentation

Check if a field is unique

Description

If TRUE, then all values for that field MUST be unique within the data file in which it is found.

Usage

constraints.checkUnique(constraint, value)

Arguments

constraint

set TRUE to check unique values

value

value to check

Value

TRUE if field is unique

See Also

Constraints specifications

Examples


constraints.checkUnique(constraint = FALSE, value = "any")

constraints.checkUnique(constraint = TRUE, value = "any")


tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.