Learn R Programming

tableschema.r (version 1.1.2)

constraints.checkUnique: 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)

Value

TRUE if field is unique

Arguments

constraint

set TRUE to check unique values

value

value to check

See Also

Examples

Run this code

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

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

Run the code above in your browser using DataLab