dc_validation_dateidentified_notstandard: Data check validation_dateidentified_notstandard Check if...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_dateidentified_notstandard.R

Description

This data check answers: "Is dateIdentified a valid ISO 8601-1:2019 date?" question.
Data check will pass if Given dateIdentified is a valid ISO 8601-1:2019 date. and will fail if Given dateIdentified is not a valid ISO 8601-1:2019 date..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: dateIdentified="02021981", such data check would return TRUE.
Example of entries that will fail: dateIdentified="2018-02-02", such data check would return FALSE.

Usage

1

Arguments

TARGET

a vector of dateIdentified information. To pass it must be a valid ISO 8601-1:2019 date.

Format

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

samplePassData

Given dateIdentified is a valid ISO 8601-1:2019 date.

sampleFailData

Given dateIdentified is not a valid ISO 8601-1:2019 date.

targetDWCField

dateIdentified

checkCategory

event

References

None

Examples

1
perform_dc(data_bats, 'validation_dateidentified_notstandard')

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