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

Description Usage Arguments Value Examples

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

1
2
3
4
5
6
7
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

1
2
3
4
5
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 March 5, 2021, 5:06 p.m.