DC_namePublishedYearInFuture {bdchecks}R Documentation

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.

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

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

[Package bdchecks version 0.1.7 Index]