extract_records_from_xml_node: Pulls out a tibble of record info from an XML node

View source: R/utils-query.R

extract_records_from_xml_nodeR Documentation

Pulls out a tibble of record info from an XML node

Description

This function accepts an xml_node assuming it already represents one record and formats that node into a single row tbl_df.

Usage

extract_records_from_xml_node(
  node,
  object_name_append = FALSE,
  object_name_as_col = FALSE
)

Arguments

node

xml_node; the node to have records extracted into one row tbl_df.

object_name_append

logical; whether to include the object type (e.g. Account or Contact) as part of the column names (e.g. Account.Name).

object_name_as_col

logical; whether to include the object type (e.g. Account or Contact) as a new column.

Value

tbl_df parsed from the supplied node

Note

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


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