bdchecks (version 0.1.7)

DC_yearMissing: Data check yearMissing Check if year information is not missing

Description

This data check answers: "Is year information present??" question. Data check will pass if The value for dwc:year is valid and will fail if The value for dwc:year is NULL. Dimension of this data check is Completeness and it's flagging type is: FLAG Example of entries that will pass: year=2000, such data check would return Passed. Example of entries that will fail: year=, such data check would return Faield.

Arguments

Format

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

samplePassData

The value for dwc:year is valid

sampleFailData

The value for dwc:year is NULL

targetDWCField

year

checkCategory

Event

References

None

Examples

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

Run the code above in your browser using DataCamp Workspace