bdchecks (version 0.1.7)

DC_countryNameUnknown: Data check countryNameUnknown Check if the name of the country or major administrative unit in which the location occurs is within given vocabulary

Description

This data check answers: "Is country known??" question. Data check will pass if Country name (dwc:country) is in vocabulary and will fail if Country name (dwc:country) not in vocabulary. Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: country=Australia, such data check would return Passed. Example of entries that will fail: country=Austend, such data check would return Failed.

Arguments

Format

An object of class "dataCheck", see dataCheck for details.

samplePassData

Country name (dwc:country) is in vocabulary

sampleFailData

Country name (dwc:country) not in vocabulary

targetDWCField

country

checkCategory

Location

References

None

Examples

Run this code
# NOT RUN {
performDC(DC = DC_countryNameUnknown, DATA = bdchecks::dataBats)
# }

Run the code above in your browser using DataLab