powered by
Given the unique ID of a content item, fetches the item's metadata from a portal.
arc_item(item_id, host = arc_host(), token = arc_token())
an object of class PortalItem which is a list with the item's metadata.
PortalItem
the ID of the item to fetch. A scalar character.
default "https://www.arcgis.com". The host of your ArcGIS Portal.
"https://www.arcgis.com"
an httr2_token as created by auth_code() or similar
httr2_token
auth_code()
See API Reference for more information.
Other portal item: arc_item_data()
arc_item_data()
arc_item("9df5e769bfe8412b8de36a2e618c7672")
Run the code above in your browser using DataLab