DC_monthInvalid: Data check monthInvalid Check if event month is valid (1 <=...

Description Format samplePassData sampleFailData targetDWCField checkCategory References Examples

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.

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

1
performDC(DC = DC_monthInvalid, DATA = bdchecks::dataBats)

bdchecks documentation built on May 2, 2019, 4:24 a.m.