dc_validation_year_empty: Data check validation_year_empty Check if year exists and is...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_year_empty.R

Description

This data check answers: "Is year information present?" question.
Data check will pass if The value for year is present. and will fail if The value for year is missing..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: year=2001-01-01, such data check would return TRUE.
Example of entries that will fail: year=, such data check would return FALSE.

Usage

1

Arguments

TARGET

a vector of year information. To pass it must be non-empty entry.

Format

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

samplePassData

The value for year is present.

sampleFailData

The value for year is missing.

targetDWCField

year

checkCategory

event

References

None

Examples

1
perform_dc(data_bats, 'validation_year_empty')

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