list_funs: List available sections, services, layers, and URLs in the...

list_funsR Documentation

List available sections, services, layers, and URLs in the WDNR GIS REST API

Description

These functions can take sections, services, and layers specified as character strings and return either the section, service, layer or url as available in the WDNR GIS REST API

Usage

list_sections()

list_services(sections = NULL, pull = TRUE)

list_layers(sections = NULL, services = NULL, pull = TRUE)

list_urls(layers = NULL, sections = NULL, services = NULL, pull = TRUE)

Arguments

sections

A character vector of available sections to subset by

pull

Logical. Pull unique values (TRUE, default) or show the matching rows in the service_urls data.frame

services

A character vector of available services to subset by

layers

A character vector of available layers to subset by

Value

A vector of matching sections, services, layers, or URLs depending on the function called

Examples

list_sections()
list_services(sections = "WT_TMDL")
list_layers(services = match_services("Invasive"))
list_urls(sections = match_sections("WT"),
          services = match_services("inland"))

wdnr.gis documentation built on Oct. 26, 2023, 1:08 a.m.