dc_validation_taxon_empty: Data check validation_taxon_empty Check if at least one field...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_taxon_empty.R

Description

This data check answers: "Is taxon information present?" question.
Data check will pass if The value for at least one term in the Taxon class is present. and will fail if The value for all terms organized in the Taxon class are NULL..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: kingdom=animal, such data check would return TRUE.
Example of entries that will fail: kingdom=, such data check would return FALSE.

Usage

1

Arguments

TARGET

a vector of taxon 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 at least one term in the Taxon class is present.

sampleFailData

The value for all terms organized in the Taxon class are NULL.

targetDWCField

taxonID, scientificNameID, acceptedNameUsageID, parentNameUsageID, originalNameUsageID, taxonConceptID, scientificName, higherClassification, kingdom, phylum, class, order, family, genus, subgenus, specificEpithet, infraspecificEpithet, vernacularName

checkCategory

taxon

References

None

Examples

1
perform_dc(data_bats, 'validation_taxon_empty')

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