This function accepts an xml_nodeset
and formats each record into
a single row of a tbl_df
.
extract_records_from_xml_nodeset_of_records(
x,
object_name = NULL,
object_name_append = FALSE,
object_name_as_col = FALSE
)
xml_nodeset
; nodeset to have records extracted into a
tbl_df
.
character
; a list of character strings to prefix
each variable name in the event that we would like to tag the fields with
the name of the object that they came from and/or store the object type as a
separate column in the resultset.
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 xml_nodeset