From 02857ae684c1655a340a077b6c83d07f98665cfc Mon Sep 17 00:00:00 2001 From: Fanny-Gautier Date: Fri, 24 May 2024 16:19:56 +0200 Subject: [PATCH] #32 Delete dm_peds call as replaced by adsl_peds --- inst/templates/ad_advs.R | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inst/templates/ad_advs.R b/inst/templates/ad_advs.R index 5d16b8d..d94d65a 100644 --- a/inst/templates/ad_advs.R +++ b/inst/templates/ad_advs.R @@ -142,11 +142,9 @@ who_wt_for_ht_lgth <- who_wt_for_ht_boys %>% # Once available to the Pharmaverse, needs to uncomment below data calls # data("vs_peds") -# data("dm_peds") # data("adsl_peds") vs <- vs_peds -dm <- dm_peds adsl <- adsl_peds %>% select(-DOMAIN) # When SAS datasets are imported into R using haven::read_sas(), missing @@ -175,7 +173,7 @@ param_lookup <- tibble::tribble( ) attr(param_lookup$VSTESTCD, "label") <- "Vital Signs Test Short Name" -# Get list of DM vars required for derivations +# Get list of ADSL vars required for derivations adsl_vars <- exprs(SEX, BRTHDTC, TRTSDT, TRTEDT, TRT01A, TRT01P) advs <- vs %>%