dc_validation_month_notstandard: Data check validation_month_notstandard Check if month is an...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_month_notstandard.R

Description

This data check answers: "Is month an integer between 1 and 12 inclusive?" question.
Data check will pass if The value for month within given numbers. and will fail if The value for month is not within given numbers..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: month=6, such data check would return TRUE.
Example of entries that will fail: month=13, such data check would return FALSE.

Usage

1

Arguments

TARGET

a vector of month information. To pass must be an integer within 1 and 12.

Format

An object of class function to perform a specific data check.

samplePassData

The value for month within given numbers.

sampleFailData

The value for month is not within given numbers.

targetDWCField

month

checkCategory

event

References

None

Examples

1
perform_dc(data_bats, 'validation_month_notstandard')

bd-R/bdchecks documentation built on Oct. 8, 2021, 5:10 p.m.