Learn R Programming

tidyCDISC (version 0.2.2)

prep_bds: Combine BDS Data Frames

Description

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

Usage

prep_bds(datafile, ADSL)

Value

A data frame containing the BDS data bound by rows.

Arguments

datafile

list of ADaM-ish data frames

ADSL

A data frame which contains the ADSL data

Examples

Run this code
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)
}

Run the code above in your browser using DataLab