bdchecks (version 0.1.7)

DC_uncertaintyRangeMismatch: Data check uncertaintyRangeMismatch Check if geopoint uncertainty range mismatch is a positive integer (meters).

Description

This data check answers: "?" question. Data check will pass if Geopoint uncertainty (dwc:coordinateUncertaintyInMeters) is a whole number and greater than zero (meters) and will fail if Geopoint uncertainty (dwc:coordinateUncertaintyInMeters) should be a whole number and greater than zero (meters). Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: coordinateUncertaintyInMeters=1, such data check would return Passed. Example of entries that will fail: coordinateUncertaintyInMeters=0.002,coordinateUncertaintyInMeters=-1,coordinateUncertaintyInMeters=0, such data check would return Failed.

Arguments

Format

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

samplePassData

Geopoint uncertainty (dwc:coordinateUncertaintyInMeters) is a whole number and greater than zero (meters)

sampleFailData

Geopoint uncertainty (dwc:coordinateUncertaintyInMeters) should be a whole number and greater than zero (meters)

targetDWCField

coordinateUncertaintyInMeters

checkCategory

Location

References

None

Examples

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

Run the code above in your browser using DataCamp Workspace