selectPolys | R Documentation |
A Shiny gadget designed for interactive selection of spatial polygons. This is intended to help users find AU and HUC IDs for querying or filtering data.
selectPolys(type = "au")
type |
One of 'au', 'huc8', or 'huc12' to select assessment unit, HUC 8, or HUC 12 polygons |
A vector of selected polygon identifiers (AU IDs or HUC numbers).
sites=readWQP(type='sites', auid=selectPolys('au'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.