Skip to contents

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, host = arc_host(), token = arc_token())

Arguments

group

a scalar character of the group ID or a PortalGroup object created using arc_group()

host

default "https://www.arcgis.com"

token

an httr2_token as created by auth_code() or similar

user

a scalar character of the username or a PortalUser object created using arc_user()

Value

a data.frame of content item metadata

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")
} # }