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
)String. Integer. The seven-digit DataStore ID for the reference that content unit links will be added to.
String. Vector. One or more NPS park unit codes.
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
Logical. Should a bounding box be added? Defaults to TRUE
NULL (invisibly)
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))} # }