bdchecks (version 0.1.7)

DC_dataGeneralised: Data check dataGeneralised Chech if dataGeneralizations is a NULL column (ie, latitude and longitude were not generalized)

Description

This data check answers: "Is dataGeneralizations NULL??" question. Data check will pass if Latitude and longitude values have not been generalized as indicated by dwc:dataGeneralizations is NULL and will fail if Latitude and longitude values may have been generalized as indicated by dwc:dataGeneralizations is not NULL. Dimension of this data check is Resolution and it's flagging type is: FLAG Example of entries that will pass: dataGeneralizations=, such data check would return Passed. Example of entries that will fail: dataGeneralizations=record placed on 0.1 degree grid, such data check would return Failed.

Arguments

Format

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

samplePassData

Latitude and longitude values have not been generalized as indicated by dwc:dataGeneralizations is NULL

sampleFailData

Latitude and longitude values may have been generalized as indicated by dwc:dataGeneralizations is not NULL

targetDWCField

dataGeneralizations

checkCategory

Record_level Terms

References

None

Examples

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

Run the code above in your browser using DataLab