Check Patient Names
check_names.RdCompares patient names between a manually entered dataset and a reference set of correct names (e.g., from REDCap) to identify discrepancies.
Value
Prints a message listing any discrepancies found. Intended to be called
within the prepare_data() function, where it can optionally be silenced.
See also
prepare_data()is a wrapper of this function.import_item_data()preparesd.
Examples
if (FALSE) { # \dontrun{
p <- data_paths("data-raw")
# With name checking:
data <- prepare_data(p, check.names = TRUE)
# Without name checking:
data <- prepare_data(p, check.names = FALSE)
} # }