#' @rdname dc_validation_occurrenceid_notstandard
#'
#' @param TARGET a vector of occurence ID. To pass must be match a GUID style.
#'
dc_validation_occurrenceid_notstandard <- function(TARGET = NULL) {
result <- TARGET %>%
tolower() %>%
gsub(" ", "", .) %>% # Remove possible spaces
grepl("^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$", .)
return(perform_dc_missing(result, TARGET))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.