get.dnames: Process a VISION XML file from their EDC

Description Usage Arguments Value See Also Examples

View source: R/processVISION.R

Description

Gets the dataset names from an VISION XML document

Usage

1
get.dnames(xml, isXML = FALSE, names.only = TRUE)

Arguments

xml

XML filename from VISION EDC, or if xmlParse has already been run, then the XML document with class XMLAbstractDocument. if (isXML = FALSE), should have ".xml" extension not ".zip".

isXML

(logical) indicating whether xml is an XMLAbstractDocument class (TRUE), or a filename (default FALSE)

names.only

(logical) return only the dataset names, (default TRUE)

Value

A list with slots dsets, the dataset names, and if names.only = FALSE, proc, the XML parsed object.

See Also

xmlParse, xmlRoot

Examples

1
2
3
4
5
## Not run: 
xmlfile = "MISTIE_III_Subjects_2014_01_09.xml"
dnames <- get.dnames(xmlfile, isXML=FALSE, names.only=TRUE)$dsets

## End(Not run)

muschellij2/processVISION documentation built on May 23, 2019, 9:54 a.m.