DC_dayInvalid {bdchecks}R Documentation

Data check dayInvalid Check if event day is valid (1 <= integer <= 31)

Description

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

Format

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

samplePassData

The value given for event day is between 1 and 31

sampleFailData

The value given for event day is less than 1 or greater than 31

targetDWCField

day

checkCategory

Event

References

None

Examples

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

[Package bdchecks version 0.1.7 Index]