match_funs | R Documentation |
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
match_sections(..., exact = FALSE)
match_services(..., sections = NULL, pull = TRUE, exact = FALSE)
match_layers(..., sections = NULL, services = NULL, pull = TRUE, exact = FALSE)
... |
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 |
A character vector of all matching sections, services, or layers appropriate to the called function
match_sections("WT")
match_services("Fish", sections = match_sections("WT"))
match_layers("Fish", sections = match_sections("WT"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.