xml_to_df | R Documentation |
function hacked from https://hopstat.wordpress.com/2014/01/14/faster-xml-conversion-to-data-frames/. fastest, most dependable, but requires xpath knowledge.
xml_to_df(file, xpath, is_xml = FALSE, dig = FALSE)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.