Fetch ADaM tables from a source based on endpoint specifications
Source:R/fetch_db_data.R
fetch_db_data.Rd
This function reads the set of ADaM tables required to produce the specified endpoints from the input. It uses the user-supplied preprocessing functions specified for each endpoint to identify and process the necessary ADaM tables. It validates the preprocessing functions and applies them to the study metadata to obtain the data tables. If any preprocessing functions result in errors, the function stops and reports the errors.
Usage
fetch_db_data(study_metadata, fn_dt, env = parent.frame())
Arguments
- study_metadata
Study metadata that is passed to the
mk_adam*
functions.- fn_dt
A
data.table
containing the parsed user-supplied functions.- env
Advanced parameter for specifying the evaluation environment, defaults to
parent.frame()
.