Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples
View source: R/dc_validation_mindepth_maxdepth_outofrange.R
This data check answers: "Are minimumDepthInMeters and maximumDepthInMeters within parameter range?" question.
Data check will pass if Values for minimumDepthInMeters and maximumDepthInMeters are within given numbers. and will fail if Values for minimumDepthInMeters and maximumDepthInMeters are not within given numbers..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: maximumDepthInMeters=100
, such data check would return TRUE
.
Example of entries that will fail: maximumDepthInMeters=20000
, such data check would return FALSE
.
1 2 3 4 5 | dc_validation_mindepth_maxdepth_outofrange(
TARGET = NULL,
lower_depth = 0,
upper_depth = 11000
)
|
TARGET |
a vector of minimum or maximum depth in meters. To pass it must be within lower and upper depth parameters. |
lower_depth |
a numeric value for a lower depth. |
upper_depth |
a numeric value for an upper depth. |
An object of class function to perform a specific data check.
Values for minimumDepthInMeters and maximumDepthInMeters are within given numbers.
Values for minimumDepthInMeters and maximumDepthInMeters are not within given numbers.
minimumDepthInMeters, maximumDepthInMeters
location
None
1 | perform_dc(data_bats, 'validation_mindepth_maxdepth_outofrange')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.