dc_validation_class_notfound: Data check validation_class_notfound Check if class was found...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_class_notfound.R

Description

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

Usage

1

Arguments

TARGET

a vector of class information. To pass it must be within gbif class ranks.

Format

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

samplePassData

The value for class is present and correct.

sampleFailData

The value for class is missing or incorrect.

targetDWCField

class

checkCategory

taxon

References

None

Examples

1
perform_dc(data_bats, 'validation_class_notfound')

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