xml_to_numeric: Return a numeric vector of data under an xml node

Description Usage Arguments Value Examples

Description

Verifit data is interpreted by R to be a single string. This function takes an xml node (returned from XML::xmlRoot) and converts the content into a numeric list.

Usage

1

Arguments

x

A node returned from XML::xmlRoot that has no children.

Value

A numeric vector comprising the data in x

Examples

1
2
3
4
## Not run: 
xml_to_numeric(xml_data_top[[a]][[b]][[c]])

## End(Not run)

kevindsp/verifitr documentation built on May 9, 2019, 8:09 p.m.