DC_occurrenceIdNotGuid: Data check occurrenceIdNotGuid Check if an identifier for the...

Description Format samplePassData sampleFailData targetDWCField checkCategory References Examples

Description

This data check answers: "?" question.
Data check will pass if occurrenceID is a globally uninique identifier (GUID) and will fail if occurrenceID is an integer, assuring that it is not a globally uninique identifier (GUID).
Dimension of this data check is Conformance and it's flagging type is: FLAG
Example of entries that will pass: 3cfe9ab4-79f8-4afd-8da5-723183ef16a3, such data check would return Passed.
Example of entries that will fail: occurrenceID=42, such data check would return Failed.

Format

An object of class "dataCheck", see dataCheck for details.

samplePassData

occurrenceID is a globally uninique identifier (GUID)

sampleFailData

occurrenceID is an integer, assuring that it is not a globally uninique identifier (GUID)

targetDWCField

occurrenceID

checkCategory

Occurrence

References

None

Examples

1
performDC(DC = DC_occurrenceIdNotGuid, DATA = bdchecks::dataBats)

bdchecks documentation built on May 2, 2019, 4:24 a.m.