dc_validation_country_notstandard: Data check validation_country_notstandard Check if country is...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_country_notstandard.R

Description

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

Usage

1

Arguments

TARGET

a vector of country information. To pass must be a valid country name (checked against data_countries reference dataset).

Format

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

samplePassData

The value for country is present and correct.

sampleFailData

The value for country is missing or incorrect.

targetDWCField

country

checkCategory

location

References

None

Examples

1
perform_dc(data_bats, 'validation_country_notstandard')

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