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

View source: R/xml_dig_df.R

xml_dig_dfR 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)

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

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 March 26, 2023, 10:46 a.m.