check_inconsistent_labels {metacore} | R Documentation |
Optional checks to consistency of metadata
Description
These functions check to see if values (e.g labels, formats) that should be consistent for a variable across all data are actually consistent.
Usage
check_inconsistent_labels(metacore)
check_inconsistent_types(metacore)
check_inconsistent_formats(metacore)
Arguments
metacore |
metacore object to check |
Value
If all variables are consistent it will return a message. If there are inconsistencies it will return a message and a dataset of the variables with inconsistencies.
Examples
## EXAMPLE WITH DUPLICATES
# Loads in a metacore obj called metacore
load(metacore_example("pilot_ADaM.rda"))
check_inconsistent_labels(metacore)
check_inconsistent_types(metacore)
## EXAMPLE WITHOUT DUPLICATES
# Loads in a metacore obj called metacore
load(metacore_example("pilot_SDTM.rda"))
check_inconsistent_labels(metacore)
check_inconsistent_formats(metacore)
check_inconsistent_types(metacore)
[Package metacore version 0.1.3 Index]