Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples
View source: R/dc_validation_basisofrecord_notstandard.R
This data check answers: "Is basisOfRecord within given source authority list?" question.
Data check will pass if The value for basisOfRecord is present and correct. and will fail if The value for basisOfRecord is missing or incorrect..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: basisOfRecord=human_observation
, such data check would return TRUE
.
Example of entries that will fail: basisOfRecord=photos
, such data check would return FALSE
.
1 2 3 4 5 6 | dc_validation_basisofrecord_notstandard(
TARGET = NULL,
sources = c("event", "fossil", "fossilspecimen", "human", "humanobservation",
"livingspecimen", "machineobservation", "materialsample", "occurrence",
"preservedspecimen", "photo", "photos", "taxon")
)
|
TARGET |
a vector of basisOfRecord information. To pass it must be within given reference dictionary. |
sources |
a vector of available sources. |
An object of class function to perform a specific data check.
The value for basisOfRecord is present and correct.
The value for basisOfRecord is missing or incorrect.
basisOfRecord
record-level terms
None
1 | perform_dc(data_bats, 'validation_basisofrecord_notstandard')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.