ADaM mappings describe how variables and meta information in the ADaM data are mapped to standardized term.
Arguments
- name
A character value of term name. The term name is used as key to link information.
- id
A character value of subject identifier variable name in an ADaM dataset.
- group
A character vector of group variable names in an ADaM dataset.
- var
A character vector of useful variable names in an ADaM dataset.
- subset
An expression to identify analysis records. See
base::subset()
.- label
A character value of analysis label.
- ...
Additional variables.
Details
The design is inspired by ggplot2::aes()
.
Examples
adam_mapping(
name = "apat",
id = "USUBJID",
group = "TRT01A",
subset = TRTFL == "Y",
label = "All Participants as Treated"
)
#> ADaM mapping:
#> * `name` -> "apat"
#> * `id` -> "USUBJID"
#> * `group` -> "TRT01A"
#> * `var` -> NULL
#> * `subset` -> TRTFL == "Y"
#> * `label` -> "All Participants as Treated"