collapse_list_with_dupe_names | R Documentation |
This function looks for instances of elements in a list that have the same name
and then combine them all into a single comma separated character string
(referenceTo) or tbl_df
(picklistValues).
collapse_list_with_dupe_names(x)
x |
list; a list, typically returned from the API that we would parse through |
A list
containing one row per field for the requested object.
The tibble only contains the fields that the user can view, as defined by the user's field-level security settings.
## Not run: obj_dat <- sf_describe_objects(object_names = "Contact", api_type = "SOAP")[[1]] obj_fields_list <- obj_dat[names(obj_dat) == "fields"] %>% map(collapse_list_with_dupe_names) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.