For a given user or group, returns a data.frame of all content items owned by them.
Usage
arc_group_content(group, host = arc_host(), token = arc_token())
arc_user_content(
user = arc_user_self(token = token),
host = arc_host(),
token = arc_token()
)Arguments
- group
a scalar character of the group ID or a
PortalGroupobject created usingarc_group()- host
default
"https://www.arcgis.com". The host of your ArcGIS Portal.- token
an
httr2_tokenas created byauth_code()or similar- user
a scalar character of the username or a
PortalUserobject created usingarc_user()
Examples
if (FALSE) { # \dontrun{
library(arcgis)
# authenticate
set_arc_token(auth_user())
# get your own content items
self <- arc_user_self()
arc_user_content(self$username)
# get a specific group's items
arc_group_content("2f0ec8cb03574128bd673cefab106f39")
} # }