wdnr.gis (version 0.1.5)

list_funs: 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)

Value

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

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

Examples

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

Run the code above in your browser using DataLab