R/DC_coordinatesZero.R

#'
#' Data check coordinatesZero Check if decimal values given in decimalLatitude and decimalLongitude are not zero
#'
#'     This data check answers: "Is decimal number in langitude and latitude not zero??" question.\cr Data check will pass if \strong{Decimal latitude and longitude are not zero (0) degrees} and will fail if \strong{Decimal latitude and longitude are both zero (0) degrees}.\cr Dimension of this data check is \strong{Conformance} and it's flagging type is: \strong{FLAG}\cr Example of entries that will pass: \code{decimalLatitude=-1, decimalLongitude=1}, such data check would return \code{Passed}.\cr Example of entries that will fail: \code{decimalLatitude=0, decimalLongitude=0}, such data check would return \code{Failed}.
#' @name DC_coordinatesZero
#' @docType data
#' @format An object of class \code{"dataCheck"}, see \code{\link{dataCheck}} for details.
#' @references None
#' @examples 
#' performDC(DC = DC_coordinatesZero, DATA = bdchecks::dataBats)
#' @section samplePassData:
#' Decimal latitude and longitude are not zero (0) degrees
#' @section sampleFailData:
#' Decimal latitude and longitude are both zero (0) degrees
#' @section targetDWCField:
#' decimalLatitude,decimalLongitude
#' @section checkCategory:
#'  Location

NULL

Try the bdchecks package in your browser

Any scripts or data that you put into this service are public.

bdchecks documentation built on May 2, 2019, 4:24 a.m.