This function takes one or more content unit codes and adds them, along with their bounding boxes, as content unit links to the specified reference on DataStore.

set_content_units(
  reference_id,
  content_units,
  dev = TRUE,
  add_link = TRUE,
  add_boundingbox = TRUE
)

Arguments

reference_id

String. Integer. The seven-digit DataStore ID for the reference that content unit links will be added to.

content_units

String. Vector. One or more NPS park unit codes.

dev

Logical. Whether or not the operation will be performed on the development server. Defaults to TRUE.

Logical. Should content unit links be added? Defaults to TRUE

add_boundingbox

Logical. Should a bounding box be added? Defaults to TRUE

Value

NULL (invisibly)

Examples

if (FALSE) { # \dontrun{
set_content_units(reference_id = 1234567,
                  content_units = "ROMO")
set_content_units(reference_id = 1234567,
                  content_units = c("ROMO", "YELL",
                  dev = FALSE))} # }