R/DC_occurrenceIdNotGuid.R

#'
#' Data check occurrenceIdNotGuid Check if an identifier for the occurrence is a globally uniquely identifier (currently we use regex pattern solution is implemented)
#'
#'     This data check answers: "?" question.\cr Data check will pass if \strong{occurrenceID is a globally uninique identifier (GUID)} and will fail if \strong{occurrenceID is an integer, assuring that it is not a globally uninique identifier (GUID)}.\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{3cfe9ab4-79f8-4afd-8da5-723183ef16a3}, such data check would return \code{Passed}.\cr Example of entries that will fail: \code{occurrenceID=42}, such data check would return \code{Failed}.
#' @name DC_occurrenceIdNotGuid
#' @docType data
#' @format An object of class \code{"dataCheck"}, see \code{\link{dataCheck}} for details.
#' @references None
#' @examples 
#' performDC(DC = DC_occurrenceIdNotGuid, DATA = bdchecks::dataBats)
#' @section samplePassData:
#' occurrenceID is a globally uninique identifier (GUID)
#' @section sampleFailData:
#' occurrenceID is an integer, assuring that it is not a globally uninique identifier (GUID)
#' @section targetDWCField:
#' occurrenceID
#' @section checkCategory:
#'  Occurrence

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.