Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples
View source: R/dc_validation_eventdate_notstandard.R
This data check answers: "Is eventDate a valid ISO 8601-1:2019 date?" question.
Data check will pass if Given eventDate is a valid ISO 8601-1:2019 date. and will fail if Given eventDate 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: eventDate="02021981"
, such data check would return TRUE
.
Example of entries that will fail: eventDate="2018-02-02"
, such data check would return FALSE
.
1 | dc_validation_eventdate_notstandard(TARGET = NULL)
|
TARGET |
a vector of eventDate information. To pass it must be a valid ISO 8601-1:2019 date. |
An object of class function to perform a specific data check.
Given eventDate is a valid ISO 8601-1:2019 date.
Given eventDate is not a valid ISO 8601-1:2019 date.
eventDate
event
None
1 | perform_dc(data_bats, 'validation_eventdate_notstandard')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.