View source: R/validate_inputs.R
| validate_mapping | R Documentation |
Checks that a mapping data.frame contains the required columns
(adam_dataset, adam_var, sdtm_domain, sdtm_var) and canonicalizes
names, trims whitespace, and optionally uppercases dataset/domain names.
validate_mapping(df, uppercase_datasets = TRUE)
df |
A data.frame describing ADaM-to-SDTM variable mappings. |
uppercase_datasets |
Logical; if |
A tibble with canonicalized column names and values.
map <- data.frame(
ADAM_DATASET = "adsl", ADAM_VAR = "AGE",
SDTM_DOMAIN = "dm", SDTM_VAR = "AGE"
)
validate_mapping(map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.