bdchecks (version 0.1.7)

DC_dateIdentifiedInFuture: 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.

Arguments

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

Run this code
# NOT RUN {
performDC(DC = DC_dateIdentifiedInFuture, DATA = bdchecks::dataBats)
# }

Run the code above in your browser using DataCamp Workspace