xmlrToDataFrame: Create a data frame from a xmlr Element

Description Usage Arguments Value

View source: R/xmlConverter.R

Description

This is a convenience method to take all the children of the given Element and create a data frame based on the content of each child where each child constitutes a row and the attributes or elements (including text) will constitute the columns. It assumes a homogeneous structure and the column names are takes from the first child

Usage

1
xmlrToDataFrame(element)

Arguments

element

the element to convert

Value

a data frame


xmlr documentation built on July 2, 2020, 2:42 a.m.