bdchecks (version 0.1.7)

DC_depthOutOfRange: Data check depthOutOfRange Check if depthOutOfRange is not out of range.

Description

This data check answers: "Is depth within range??" question. Data check will pass if Minimum depth is greater than or equal to zero (0) and maximum depth is less than 11,000 meters and will fail if Minimum depth is less than zero (0) or maximum depth is greater than 11,000 meters. Dimension of this data check is Likeliness and it's flagging type is: FLAG Example of entries that will pass: minimumDepthInMeters=1,maximumDepthInMeters=100, such data check would return Passed. Example of entries that will fail: maximumDepthInMeters=19380, such data check would return Failed.

Arguments

Format

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

samplePassData

Minimum depth is greater than or equal to zero (0) and maximum depth is less than 11,000 meters

sampleFailData

Minimum depth is less than zero (0) or maximum depth is greater than 11,000 meters

targetDWCField

minimumDepthInMeters,maximumDepthInMeters

checkCategory

Location

References

None

Examples

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

Run the code above in your browser using DataCamp Workspace