This function accepts an xml_node
assuming it already represents one
record and formats that node into a single row tbl_df
.
extract_records_from_xml_node(
node,
object_name_append = FALSE,
object_name_as_col = FALSE
)
xml_node
; the node to have records extracted into one row tbl_df
.
logical
; whether to include the object type
(e.g. Account or Contact) as part of the column names (e.g. Account.Name).
logical
; whether to include the object type
(e.g. Account or Contact) as a new column.
tbl_df
parsed from the supplied node