DC_modifiedInFuture {bdchecks}R Documentation

Data check modifiedInFuture Check if date on which the resource was changed is not in the future

Description

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

Format

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

samplePassData

dcterms:modified date is valid

sampleFailData

dcterms:modified is in the future

targetDWCField

modified

checkCategory

Record_level Terms

References

None

Examples

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

[Package bdchecks version 0.1.7 Index]