DC_eventDateInFuture {bdchecks}R Documentation

Data check eventDateInFuture Check if event date is not in the future

Description

This data check answers: "?" question.
Data check will pass if dwc:eventDate is valid and will fail if dwc:eventDate is in the future.
Dimension of this data check is Conformance and it's flagging type is: FLAG
Example of entries that will pass: eventDate=2001-01-01, such data check would return Passed.
Example of entries that will fail: eventDate=2230-12-31, such data check would return Failed.

Format

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

samplePassData

dwc:eventDate is valid

sampleFailData

dwc:eventDate is in the future

targetDWCField

eventDate

checkCategory

Event

References

None

Examples

performDC(DC = DC_eventDateInFuture, DATA = bdchecks::dataBats)

[Package bdchecks version 0.1.7 Index]