read.aqts.locations | R Documentation |
This function uses the raquarius::GetLocationDescriptionList()
function to retrieve location information from the AQTS Publish Service. Setting full_metadata = TRUE
will return an sf::st_sf object which will allow easy plotting on a map or spatial filtering.
read.aqts.locations(..., full_metadata = FALSE)
LocationName |
Filter results to the given location name |
LocationIdentifier |
Filter results to given location identifier |
TagKeys |
Filter results to locations matching all tags by key. |
## Not run:
# Get a list of all locations
read.aqts.locations()
# Get all locations matching a tag
loc_list <- read.aqts.locations(TagKeys = "PAWMAP")
# Get all metadata for those locations - somewhat slower as each location is a separate API request.
read.aqts.locations(TagKeys = "PAWMAP", full_metadata = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.