Skip to content

Commit

Permalink
Update early-dev/app.R
Browse files Browse the repository at this point in the history
Co-authored-by: kartikeya kirar <[email protected]>
Signed-off-by: Vedha Viyash <[email protected]>
  • Loading branch information
vedhav and kartikeyakirar authored Nov 17, 2023
1 parent 95da67b commit a630fe4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions early-dev/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ datanames(data) <- datanames

# set join keys
join_keys(data) <- default_cdisc_join_keys[datanames] # get default keys by name
join_keys(data)[["ADTR"]][["ADTR"]] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)[["ADTRWF"]][["ADTRWF"]] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)[["ADRSSWIM"]][["ADRSSWIM"]] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)[["ADTR"]][["ADSL"]] <- c("STUDYID", "USUBJID")
join_keys(data)[["ADTRWF"]][["ADSL"]] <- c("STUDYID", "USUBJID")
join_keys(data)[["ADRSSWIM"]][["ADSL"]] <- c("STUDYID", "USUBJID")
join_keys(data)["ADTR", "ADTR"] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)["ADTRWF", "ADTRWF"] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)["ADRSSWIM", "ADRSSWIM"] <- c("STUDYID", "USUBJID", "PARAMCD", "AVISIT")
join_keys(data)["ADTR", "ADSL"] <- c("STUDYID", "USUBJID")
join_keys(data)["ADTRWF", "ADSL"] <- c("STUDYID", "USUBJID")
join_keys(data)["ADRSSWIM", "ADSL"] <- c("STUDYID", "USUBJID")

## App configuration ----
# reuse object from teal_data
Expand Down

0 comments on commit a630fe4

Please sign in to comment.