salesforcer (version 0.2.2)

extract_records_from_xml_node: 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