dc_validation_taxonrank_notstandard: Data check validation_taxonrank_notstandard Check if...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_taxonrank_notstandard.R

Description

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

Usage

1
2
3
4
5
6
7
dc_validation_taxonrank_notstandard(
  TARGET = NULL,
  language = "en",
  alternative = FALSE,
  get_gbif_rank = FALSE,
  path_rank = "http://rs.gbif.org/vocabulary/gbif/rank.xml"
)

Arguments

TARGET

a vector of taxon rank. To pass must be within given dictionary.

language

language for terms (default is English 'en', but usage of all 'all' is also possible).

alternative

logical value - should alternative terms be used too.

get_gbif_rank

logical value - should update gbif dictionary.

path_rank

path to gbif dictionary

Format

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

samplePassData

The value for taxonRank is standard.

sampleFailData

The value for taxonRank is missing or not standard.

targetDWCField

taxonRank

checkCategory

taxon

References

None

Examples

1
perform_dc(data_bats, 'validation_taxonrank_notstandard')

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