A function to combine all BDS data frames into one large data set.

prep_bds(datafile, ADSL)

Arguments

datafile

list of ADaM-ish data frames

ADSL

A data frame which contains the ADSL data

Value

A data frame containing the BDS data bound by rows.

Examples

if(interactive()) {
  datalist <- list(ADSL = tidyCDISC::adsl, ADVS = tidyCDISC::advs, 
                   ADAE = tidyCDISC::adae, ADLBC = tidyCDISC::adlbc)
                 
  pre_adsl <- prep_adsl(datalist$ADSL, input_recipe = 'NONE')

  prep_bds(datalist, ADSL = pre_adsl$data)
}