View source: R/show_sedimentmap.R
show_sedimentmap | R Documentation |
Make a map for sediment contaminants at stations in Tampa Bay
show_sedimentmap(
sedimentdata,
param,
yrrng = c(1993, 2023),
funding_proj = "TBEP",
weight = 1.5
)
sedimentdata |
input sediment |
param |
chr string for which parameter to plot |
yrrng |
numeric vector indicating min, max years to include, use single year for one year of data |
funding_proj |
chr string for the funding project, one to many of "TBEP" (default), "TBEP-Special", "Apollo Beach", "Janicki Contract", "Rivers", "Tidal Streams" |
weight |
numeric for outline width of station points on the map |
The map shows sediment contaminant concentrations for the selected parameter relative to Threshold Effects Levels (TEL) and Potential Effects Levels (PEL), if available. Green points show concentrations below the TEL, yellow points show concentrations between the TEL and PEL, and red points show concentrations above the PEL. The applicable TEL and PEL values for the parameter are indicated in the legend. If TEL and PEL thresholds are not available, a map of the sediment concentrations is shown and a warning is returned to the console.
A leaflet
object
show_sedimentmap(sedimentdata, param = 'Arsenic')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.