Learn R Programming

bdchecks (version 0.1.7)

DC_coordinatesZero: Data check coordinatesZero Check if decimal values given in decimalLatitude and decimalLongitude are not zero

Description

This data check answers: "Is decimal number in langitude and latitude not zero??" question. Data check will pass if Decimal latitude and longitude are not zero (0) degrees and will fail if Decimal latitude and longitude are both zero (0) degrees. Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: decimalLatitude=-1, decimalLongitude=1, such data check would return Passed. Example of entries that will fail: decimalLatitude=0, decimalLongitude=0, such data check would return Failed.

Arguments

Format

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

samplePassData

Decimal latitude and longitude are not zero (0) degrees

sampleFailData

Decimal latitude and longitude are both zero (0) degrees

targetDWCField

decimalLatitude,decimalLongitude

checkCategory

Location

References

None

Examples

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

Run the code above in your browser using DataLab