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

data_to_filterR Documentation

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)

Arguments

datafile

list of ADaM-ish dataframes

input_filter_df

The name of a dataset stored in 'datafile'

Value

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

Examples

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"))
}

Biogen-Inc/tidyCDISC documentation built on April 22, 2023, 2:12 p.m.