R/DC_namePublishedYearInFuture.R

#'
#' Data check namePublishedYearInFuture Check if year in which scientific name was published is not in the future
#'
#'     This data check answers: "?" question.\cr Data check will pass if \strong{dwc:namePublishedInYear is valid} and will fail if \strong{dwc:namePublishedInYear is in the future}.\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{namePublishedInYear=2000}, such data check would return \code{Passed}.\cr Example of entries that will fail: \code{namePublishedInYear=2230}, such data check would return \code{Failed}.
#' @name DC_namePublishedYearInFuture
#' @docType data
#' @format An object of class \code{"dataCheck"}, see \code{\link{dataCheck}} for details.
#' @references None
#' @examples 
#' performDC(DC = DC_namePublishedYearInFuture, DATA = bdchecks::dataBats)
#' @section samplePassData:
#' dwc:namePublishedInYear is valid
#' @section sampleFailData:
#' dwc:namePublishedInYear is in the future
#' @section targetDWCField:
#' namePublishedInYear
#' @section checkCategory:
#'  Taxon

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.