argentum_list_layers {Argentum}R Documentation

List Layers for a Given Organization

Description

This function retrieves and lists the available layers for a specified organization.

Usage

argentum_list_layers(organization)

Arguments

organization

A character string specifying the name of the organization

Value

A data frame containing layer information with columns 'Name' and 'Title'

Examples


# This example uses a mock organization name.
# In a real scenario, use an actual organization name from argentum_list_organizations()
tryCatch({
  orgs <- argentum_list_organizations()
  if(nrow(orgs) > 0) {
    layers <- argentum_list_layers(orgs$Name[1])
    print(layers)
  } else {
    message("No organizations found.")
  }
}, error = function(e) {
  message("Error occurred: ", e$message)
})


[Package Argentum version 1.0.0 Index]