dc_validation_mindepth_greaterthan_maxdepth: Data check validation_mindepth_greaterthan_maxdepth Check if...

Description Usage Arguments Format samplePassData sampleFailData targetDWCField checkCategory References Examples

View source: R/dc_validation_mindepth_greaterthan_maxdepth.R

Description

This data check answers: "Is minimumDepthInMeters less or equal to maximumDepthInMeters?" question.
Data check will pass if Given minimumDepthInMeters is not greater than maximumDepthInMeters. and will fail if Given minimumDepthInMeters is greater than maximumDepthInMeters..
Dimension of this data check is and it's flagging type is: FLAG
Example of entries that will pass: minimumDepthInMeters="100",maximumDepthInMeters="200", such data check would return TRUE.
Example of entries that will fail: minimumDepthInMeters="100",maximumDepthInMeters="20", such data check would return FALSE.

Usage

1

Arguments

TARGET

a vector of minimumDepthInMeters.

TARGET2

a vector of maximumDepthInMeters.

Format

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

samplePassData

Given minimumDepthInMeters is not greater than maximumDepthInMeters.

sampleFailData

Given minimumDepthInMeters is greater than maximumDepthInMeters.

targetDWCField

minimumDepthInMeters

checkCategory

location

References

None

Examples

1
perform_dc(data_bats, 'validation_mindepth_greaterthan_maxdepth')

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