xml_extract_parent_and_child_result: Extract tibble of a parent-child record from one XML node

View source: R/utils-query.R

xml_extract_parent_and_child_resultR Documentation

Extract tibble of a parent-child record from one XML node

Description

This function accepts a node representing the result of an individual parent recordset from a nested parent-child query where there are zero or more child records to be joined to the parent. In this case the child and parent will be bound together to return one complete tbl_df of the query result for that parent record.

Usage

xml_extract_parent_and_child_result(x)

Arguments

x

xml_node; a xml_node from an xml2 parsed response representing one individual parent query record.

Value

tbl_df of the query result for that parent record.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.