DC_dateNull: Data check dateNull Check if eventDate, year,...

Description Format samplePassData sampleFailData targetDWCField checkCategory References Examples

Description

This data check answers: "Is eventDate, year or verbatimEventDate not NULL??" question.
Data check will pass if Date information is present and will fail if No date information.
Dimension of this data check is Completeness and it's flagging type is: FLAG
Example of entries that will pass: year=2000 + eventDate=2000.01.01 + verbatimEventDate=2000.01.01, such data check would return Passed.
Example of entries that will fail: year=NULL + eventDate=NULL + verbatimEventDate=NULL, such data check would return Failed.

Format

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

samplePassData

Date information is present

sampleFailData

No date information

targetDWCField

eventDate,year,verbatimEventDate

checkCategory

Event

References

None

Examples

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

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