Learn R Programming

crunch (version 1.20.0)

shojiURL: Get a resource URL from a Shoji Object

Description

Get a resource URL from a Shoji Object

Usage

shojiURL(x, collection = c("catalogs", "views", "fragments", "orders"), key)

Arguments

x

a shojiObject

collection

one of c("catalogs", "views", "fragments")

key

character name of the URL to get from collection

Value

character URL