bdchecks (version 0.1.7)

DC_monthInvalid: Data check monthInvalid Check if event month is valid (1 <= integer <= 12)

Description

This data check answers: "?" question. Data check will pass if The event month is between 1 and 12 and will fail if The event month is less than 1 or is greater than 12. Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: month=1, such data check would return Passed. Example of entries that will fail: month=14,month=0, such data check would return Failed.

Arguments

Format

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

samplePassData

The event month is between 1 and 12

sampleFailData

The event month is less than 1 or is greater than 12

targetDWCField

month

checkCategory

Event

References

None

Examples

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

Run the code above in your browser using DataLab