xml_drop_and_unlist {salesforcer} | R Documentation |
Drop type
and Id
attributes on XML queried records and unlist
Description
This function will detect if there are metadata fields returned by the SOAP
API XML from sf_query
and remove them as well as unlisting (not recursively)
to unnest the record's values. Only tested on two-level child-to-parent relationships.
For example, for every Contact (child) record return attributes from the
Account (parent) as well (SOQL = "SELECT Name, Account.Name FROM Contact")
Usage
xml_drop_and_unlist(x)
Arguments
x |
|
Value
character
; a named vector of strings from the parsed XML. Nested
elements have their hierarchy represented by a period between the element names
at each level.
Note
This function is meant to be used internally. Only use when debugging.
[Package salesforcer version 1.0.1 Index]