| print_cdisc_validation | R Documentation |
Pretty-prints CDISC validation results to the console with a summary and grouped output by category. Displays counts of errors, warnings, and info messages.
print_cdisc_validation(validation_result)
validation_result |
A data frame from |
Output includes:
Summary counts of errors, warnings, and info messages
Issues grouped by category
Each issue displayed with its variable name and message
Invisibly returns the input (useful for piping).
## Not run:
# Validate a dataset
dm <- data.frame(
STUDYID = "STUDY001",
USUBJID = c("SUBJ001", "SUBJ002"),
DMSEQ = c(1, 1),
RACE = c("WHITE", "BLACK OR AFRICAN AMERICAN")
)
validation_result <- validate_cdisc(dm, domain = "DM", standard = "SDTM")
print_cdisc_validation(validation_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.