DC_identifiedDateImprobable {bdchecks}R Documentation

Data check identifiedDateImprobable Check if identification date is between Linnaeus and current date

Description

This data check answers: "?" question.
Data check will pass if The date of identification (dwc:dateIdentified) is post Linnaeus (1753) to the current date and will fail if The date of identification (dwc:dateIdentified) falls prior to Linnaeus (1753) or after the current date..
Dimension of this data check is Conformance and it's flagging type is: FLAG
Example of entries that will pass: dateidentified=2000-01-01, such data check would return Passed.
Example of entries that will fail: dateidentified=1573-02-14,dateidentified=1000-01-01,dateidentified=3000-01-01, such data check would return Failed.

Format

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

samplePassData

The date of identification (dwc:dateIdentified) is post Linnaeus (1753) to the current date

sampleFailData

The date of identification (dwc:dateIdentified) falls prior to Linnaeus (1753) or after the current date.

targetDWCField

dateIdentified

checkCategory

Identification

References

None

Examples

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

[Package bdchecks version 0.1.7 Index]