DC_basisOfRecordBadlyFormed {bdchecks}R Documentation

Data check basisOfRecordBadlyFormed Check if the specific nature of the data record is within controlled vocabulary

Description

This data check answers: "Is basis of record within controlled vocabulary??" question.
Data check will pass if dwc:basisOfRecord was matched to vocabulary and will fail if dwc:basisOfRecord could not be unambiguously matched to vocabulary.
Dimension of this data check is Conformance and it's flagging type is: FLAG
Example of entries that will pass: basisOfRecord=HumanObservation,basisOfRecord=LIVING_SPECIMEN, such data check would return Passed.
Example of entries that will fail: basisOfRecord=Human specimen, such data check would return Failed.

Format

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

samplePassData

dwc:basisOfRecord was matched to vocabulary

sampleFailData

dwc:basisOfRecord could not be unambiguously matched to vocabulary

targetDWCField

basisOfRecord

checkCategory

Record_level Terms

References

None

Examples

performDC(DC = DC_basisOfRecordBadlyFormed, DATA = bdchecks::dataBats)

[Package bdchecks version 0.1.7 Index]