xml_dig_df: dig into a nodeset until we find top level data. that is, a...

Description Usage Arguments Value

Description

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)

Usage

1
xml_dig_df(nodeset, dig = FALSE, return_if_empty = data.frame())

Arguments

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

Value

nested lists of dataframes


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