Learn R Programming

siera (version 0.5.5)

.generate_adam_loading_code: Generate ADaM loading code

Description

Internal helper that inspects the analyses referenced by an output and builds the code required to read the relevant ADaM datasets. Only datasets referenced in the analyses, analysis sets, or data subsets are included in the returned code block.

Usage

.generate_adam_loading_code(
  Anas,
  Analyses,
  AnalysisSets,
  DataSubsets,
  adam_path
)

Value

Character string containing the code used to load ADaM datasets.

Arguments

Anas

Subset of analyses tied to the current output (Lopa rows).

Analyses

Analyses metadata for the reporting event.

AnalysisSets

AnalysisSets metadata for the reporting event.

DataSubsets

DataSubsets metadata for the reporting event.

adam_path

Directory containing the ADaM datasets on disk.