match_funs {wdnr.gis} | R Documentation |
Find available sections, services, or layers using a regular expression
Description
These functions allow you to search for sections, services, or layers that are available in the WDNR ArcGIS REST API using a regular expression. This is useful when you don't know the full name of a section, service, or layer but want to search based on keywords
Usage
match_sections(..., exact = FALSE)
match_services(..., sections = NULL, pull = TRUE, exact = FALSE)
match_layers(..., sections = NULL, services = NULL, pull = TRUE, exact = FALSE)
Arguments
... |
Character vector or regular expression to match on |
exact |
Logical stating whether to match objects in |
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 |
Value
A character vector of all matching sections, services, or layers appropriate to the called function
Examples
match_sections("WT")
match_services("Fish", sections = match_sections("WT"))
match_layers("Fish", sections = match_sections("WT"))
[Package wdnr.gis version 0.1.5 Index]