xml_dig_df | R Documentation |
dig into a nodeset until we find top level data. that is, a node of lenght 0. extract any data with node == 0 (indexed TRUE)
xml_dig_df(nodeset, dig = FALSE, return_if_empty = data.frame())
nodeset |
any nodeset of object type xml2 |
dig |
option to keep digging beyond the first terminal node. if FALSE then only data from the first set of terminal nodes is returned |
return_if_empty |
what to return if the node is empty. defaults to empty data.frame |
nested lists of dataframes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.