Closed waddella closed 2 years ago
Possible values for AERELNST
include:
"CONCURRENT ILLNESS" "OTHER" "DISEASE UNDER STUDY" "NONE"
dplyr::mutate(AERELNST = sample(
x = c("CONCURRENT ILLNESS", "OTHER", "DISEASE UNDER STUDY", "NONE"),
prob = c(0.3, 0.3, 0.3, 0.1),
size = dplyr::n(),
replace = TRUE
))
Motivation
While developing the Patient profile module in TMC, we encountered multiple variables that were not present in random cdisc data (RCD) datasets and could be useful for future usage. See original issue.
Todo
In the function
radae
add the variables:AERELNST
: Relationship to Non-Study TreatmentUpdate NEWS.md
Definition of done
sdmtchecks
(see https://github.roche.com/Rpackages/sdtmchecks)radae
returns atibble
with the variablesAERELNST
View(x)
in RStudiovignettes/rebuild_cached_data.Rmd
, and update the cached data