Reads the DDI document on a file system and converts it into an R object. Right now the following information is added to the object:
1. Variables info as well as values labels for categorical variables
2. Study Related Metadata

ReadDDI(ddiPath, ddiFile)

Arguments

ddiPath

A string containing the path to the directory that has the DDI document

ddiFile

A string containing the name of the DDI document

Value

A named list which is an instance of a BLLFlowDDI class. The list contains the following members:
1. variableMetaData - A named list. It's value comes from calling the
getMetadata function
2. additionalDDIMetaData - A named list containig the remaining nodes in the DDI document

Examples

library(bllflow) pbcDDI <- bllflow::ReadDDI(system.file("extdata", "", package="bllflow"), "pbcDDI.xml")