ox_group_ref: Group references in a dataframe

Description Usage Arguments Value Examples

Description

Returns a dataframe with study (item) group references from a parsed OpenClinica odm1.3 .xml export file.

Usage

1
ox_group_ref(parsed_xml)

Arguments

parsed_xml

An object of class XMLInternalDocument, as returned by XML::xmlParse().

Value

A dataframe.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# The example odm1.3 xml file address
my_file <- system.file("extdata",
                       "odm1.3_full_example.xml",
                       package = "ox",
                       mustWork = TRUE)

# Parsing the xml file
library(XML)
doc <- xmlParse(my_file)

# Form references in a dataframe
group_ref <- ox_group_ref(doc)
head(group_ref)

acobos/ox documentation built on May 13, 2019, 12:17 p.m.