dc_validation_coordinateuncertainty_outofrange: Data check validation_coordinateuncertainty_outofrange Check...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_coordinateuncertainty_outofrange.R

Description

This data check answers: "Is coordinateUncertaintyInMeters between 1 and upper limit?" question.
Data check will pass if The value for coordinateUncertaintyInMeters is within given range. and will fail if The value for coordinateUncertaintyInMeters is not within range..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: coordinateUncertaintyInMeters=1, such data check would return TRUE.
Example of entries that will fail: coordinateUncertaintyInMeters=-1, such data check would return FALSE.

Usage

1
2
3
4
5
dc_validation_coordinateuncertainty_outofrange(
  TARGET = NULL,
  lower_limit = 1,
  upper_limit = 20037509
)

Arguments

TARGET

a vector of coordinate uncertainty in meters. To pass it must be within lower and upper limits.

lower_limit

a numeric value for a lower limit.

upper_limit

a numeric value for an upper limit.

Format

An object of class function to perform a specific data check.

samplePassData

The value for coordinateUncertaintyInMeters is within given range.

sampleFailData

The value for coordinateUncertaintyInMeters is not within range.

targetDWCField

coordinateUncertaintyInMeters

checkCategory

location

References

None

Examples

1
perform_dc(data_bats, 'validation_coordinateuncertainty_outofrange')

bd-R/bdchecks documentation built on Oct. 8, 2021, 5:10 p.m.