R/DC_dayInvalid.R

#'
#' Data check dayInvalid Check if event day is valid (1 <= integer <= 31)
#'
#'     This data check answers: "?" question.\cr Data check will pass if \strong{The value given for event day is between 1 and 31} and will fail if \strong{The value given for event day is less than 1 or greater than 31}.\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{day=1,day=31}, such data check would return \code{Passed}.\cr Example of entries that will fail: \code{day=32,day=0,day=1.1,day=-1}, such data check would return \code{Failed}.
#' @name DC_dayInvalid
#' @docType data
#' @format An object of class \code{"dataCheck"}, see \code{\link{dataCheck}} for details.
#' @references None
#' @examples 
#' performDC(DC = DC_dayInvalid, DATA = bdchecks::dataBats)
#' @section samplePassData:
#' The value given for event day is between 1 and 31
#' @section sampleFailData:
#' The value given for event day is less than 1 or greater than 31
#' @section targetDWCField:
#' day
#' @section checkCategory:
#'  Event

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.