bdchecks (version 0.1.7)

DC_precisionRangeMismatch: Data check precisionRangeMismatch Check if precision range mismatch is between 0 and 1

Description

This data check answers: "?" question. Data check will pass if The coordinate precision (dwc:coordinatePrecision) is between zero (minimum) and one (maximum) and will fail if The coordinate precision (dwc:coordinatePrecision), as a decimal representation, is outside the range of zero (minimum) and one (maximum). Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: coordinatePrecision=0,coordinatePrecision=0.5,coordinatePrecision=1, such data check would return Passed. Example of entries that will fail: coordinatePrecision=3,coordinatePrecision=-1, such data check would return Failed.

Arguments

Format

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

samplePassData

The coordinate precision (dwc:coordinatePrecision) is between zero (minimum) and one (maximum)

sampleFailData

The coordinate precision (dwc:coordinatePrecision), as a decimal representation, is outside the range of zero (minimum) and one (maximum)

targetDWCField

coordinatePrecision

checkCategory

Location

References

None

Examples

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

Run the code above in your browser using DataLab