Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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,
  mustWork = TRUE
)

Arguments

x

a shojiObject

collection

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

key

character name of the URL to get from collection

mustWork

logical: error if the URL is not found? Default is TRUE

Value

The indicated URL, or if it does not exist and mustWork is not TRUE, NULL.


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.