xml_to_df: function hacked from...

Description Usage Arguments

Description

function hacked from https://hopstat.wordpress.com/2014/01/14/faster-xml-conversion-to-data-frames/. fastest, most dependable, but requires xpath knowledge.

Usage

1
xml_to_df(file, xpath, is_xml = FALSE, dig = FALSE)

Arguments

file

xml or zip file imported using xml2

xpath

xml path to file

is_xml

if already xml, dont parse

dig

whether to recursively search into nodes. better and faster to keep FALSE and explicitly write out xpath.


dantonnoriega/xmltools documentation built on May 29, 2019, 4:51 p.m.