Learn R Programming

ODMconverter (version 2.3)

ODM2R: ODM2R

Description

ODM2R transforms ODM file into source code for R data frame "odmdata". Clinical data (if available) is converted into source code for R data frame "clindata" Input: File in CDISC ODM format (Version 1.3; see example) Output: R source code for data frame "odmdata" (optional: data frame "clindata") with ODM attributes (see example).

Usage

ODM2R(ODMfile="", Form_OID="", IG_OID="")

Arguments

ODMfile
Name of ODM file for conversion. File format: ODM version 1.3, see example. If omitted, file.choose()-dialog is started
Form_OID
optional argument: OID of form for conversion.
IG_OID
optional argument: OID of item group for conversion.

References

Dugas M, Dugas-Breit S. Integrated data management for clinical studies: automatic transformation of data models with semantic annotations for principal investigators, data managers and statisticians. PLoS One. 2014 Feb 28;9(2):e90492

Examples

Run this code
ODM2R(ODMfile=file.path(path.package("ODMconverter"),"extdata","ODM-Test_S.0000.xml"))

Run the code above in your browser using DataLab