Learn R Programming

tidyCDISC (version 0.2.2)

data_to_filter: The smallest possible data set we could filter to semi-join later

Description

The smallest possible data set we could filter to semi-join later

Usage

data_to_filter(datafile, input_filter_df)

Value

A `data.frame` object based on the reduction of `datafile` from `input_filter_df`.

Arguments

datafile

list of ADaM-ish dataframes

input_filter_df

The name of a dataset stored in `datafile`

Examples

Run this code
if(interactive()) {
  datalist <- list(ADSL = tidyCDISC::adsl, ADAE = tidyCDISC::adae, 
                   ADVS = tidyCDISC::advs, ADLBC = tidyCDISC::adlbc, 
                   ADTTE = tidyCDISC::adtte)

  # Returns combined dataset
  data_to_filter(datalist, c("ADSL", "ADAE"))
}

Run the code above in your browser using DataLab