TADA_ViewATTAINS | R Documentation |
Visualizes the data returned from TADA_GetATTAINS if return_sf was set to TRUE.
TADA_ViewATTAINS(.data)
.data |
A list containing a dataframe and ATTAINS shapefile objects created by |
This function visualizes the shapefile features generated with TADA_GetATTAINS and the associated
TADA Water Quality Portal monitoring locations used to find the ATTAINS features. For the function to work properly,
.data must be the list produced from TADA_GetATTAINS()
with return_sf = TRUE
. Check out the
TADAModule2.Rmd for an example workflow.
A leaflet map visualizing the TADA water quality observations and the linked ATTAINS assessment units. All maps are in WGS84.
TADA_DataRetrieval()
TADA_GetATTAINS()
## Not run:
tada_data <- TADA_DataRetrieval(
startDate = "1990-01-01",
endDate = "1995-12-31",
characteristicName = "pH",
statecode = "NV",
applyautoclean = TRUE,
ask = FALSE
)
attains_data <- TADA_GetATTAINS(tada_data, return_sf = TRUE)
TADA_ViewATTAINS(attains_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.