Skip to content

Commit

Permalink
chore: use new join_keys api
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 17, 2023
1 parent 160f8da commit 906be09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exploratory/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ datanames <- c("ADSL", "ADRS", "ADLB", "ADLBPCA")
datanames(data) <- datanames

join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADLBPCA"]][["ADLBPCA"]] <- c("USUBJID", "STUDYID", "PARAMCD", "AVISIT")
join_keys(data)[["ADLBPCA"]][["ADSL"]] <- c("USUBJID", "STUDYID")
adlbpca_keys <- default_cdisc_join_keys["ADLB"]
names(adlbpca_keys)[1] <- "ADLBPCA"
join_keys(data) <- c(join_keys(data), adlbpca_keys)

## Reusable Configuration For Modules
ADSL <- data[["ADSL"]]
Expand Down

0 comments on commit 906be09

Please sign in to comment.