xml_drop_and_unlist | R Documentation |
type
and Id
attributes on XML queried records and unlistThis 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")
xml_drop_and_unlist(x)
x |
|
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.
This function is meant to be used internally. Only use when debugging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.