dc_validation_basisofrecord_empty: Data check validation_basisofrecord_empty Check if...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_basisofrecord_empty.R

Description

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

Usage

1

Arguments

TARGET

a vector of basisOfRecord 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 basisOfRecord is present.

sampleFailData

The value for basisOfRecord is missing.

targetDWCField

basisOfRecord

checkCategory

record-level terms

References

None

Examples

1
perform_dc(data_bats, 'validation_basisofrecord_empty')

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