Get a resource URL from a Shoji Object
shojiURL(
x,
collection = c("catalogs", "views", "fragments", "orders"),
key,
mustWork = TRUE
)
a shojiObject
one of c("catalogs", "views", "fragments", "orders")
character name of the URL to get from collection
logical: error if the URL is not found? Default is TRUE
The indicated URL, or if it does not exist and mustWork
is not
TRUE
, NULL
.