Tools for Working with XML Files as R Dataframes
flatXML: Tools for Working with XML Files as R Dataframes
Finding XML elements
Finding XML elements
Finding XML elements
Finding XML elements
Attributes of an XML element
Attributes of an XML element
Children of an XML element
Handling flat XML files
Handling flat XML files
Handling flat XML files
Parent of an XML element
Siblings of an XML element
Handling flat XML files
Value of an XML element
Attributes of XML elements
Children of an XML element
Parent of an XML element
Siblings of an XML element
Value of an XML element
Handling flat XML files
Attributes of XML elements
Children of an XML element
Siblings of an XML element
Converting between XML and dataframes
Converting between XML and dataframes
On import, the XML information is converted to a dataframe that reflects the hierarchical XML structure. Intuitive functions allow to navigate within this transparent XML data structure (without any knowledge of 'XPath'). 'flatXML' also provides tools to extract data from the XML into a flat dataframe that can be used to perform statistical operations. It also supports converting dataframes to XML.