xmlrToDataFrame {xmlr}R Documentation

Create a data frame from a xmlr Element

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

xmlrToDataFrame(element)

Arguments

element

the element to convert

Value

a data frame


[Package xmlr version 0.1.2 Index]