DC_dateIdentifiedInFuture {bdchecks}R Documentation

Data check dateIdentifiedInFuture Check if record identification date is not in the future

Description

This data check answers: "?" question.
Data check will pass if Date (dwc:dateIdentified) is not in the future and will fail if Date (dwc:dateIdentified) is in the future.
Dimension of this data check is Conformance and it's flagging type is: FLAG
Example of entries that will pass: dateIdentified <= TODAY, such data check would return Passed.
Example of entries that will fail: dateIdentified > TODAY, such data check would return Failed.

Format

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

samplePassData

Date (dwc:dateIdentified) is not in the future

sampleFailData

Date (dwc:dateIdentified) is in the future

targetDWCField

dateIdentified

checkCategory

Identification

References

None

Examples

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

[Package bdchecks version 0.1.7 Index]