Skip to contents

Lightweight discovery helper – one network call to the ArcGIS Online items API (/sharing/rest/content/items/<item_id>?f=json), returns a single-row data.frame with the same columns the TPS Hub catalog (morie_datasets_tps_arcgis_hub_layers) returns: hub_id, title, type, feature_server_url, owner, tags, snippet. Use this when the item is NOT in the bundled TPS catalog (any non-TorontoPoliceService item).

Usage

morie_datasets_arcgis_item_metadata(item_id)

Arguments

item_id

32-char hex GUID for an ArcGIS Online item.

Value

A data.frame with one row.

Examples

# Vee's Toronto Zoning per Neighbourhood discovery
# m <- morie_datasets_arcgis_item_metadata(
#   "af06159170914808983959df6163fc86")
# m$title  #> "Toronto Zoning per Neighbourhood"