bdchecks (version 0.1.7)

DC_namePublishedYearInFuture: Data check namePublishedYearInFuture Check if year in which scientific name was published is not in the future

Description

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

Arguments

Format

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

samplePassData

dwc:namePublishedInYear is valid

sampleFailData

dwc:namePublishedInYear is in the future

targetDWCField

namePublishedInYear

checkCategory

Taxon

References

None

Examples

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

Run the code above in your browser using DataLab