assignAUs | R Documentation |
This function assigns assessment units to water quality portal type site objects (or data with site information attached). This can be done before or after assigning beneficial uses.
assignAUs(data, lat = "LatitudeMeasure", long = "LongitudeMeasure")
data |
Input dataset. Must include latitude & longitude columns. |
lat |
Name of latitude column. Default matches WQP objects. |
long |
Name of longitude column. Default matches WQP objects. |
Returns the input data frame with assessment unit information appended.
# Read a couple of sites (Mantua Reservoir and a tributary)
sites=readWQP(type="sites", siteid=c("UTAHDWQ_WQX-4900440","UTAHDWQ_WQX-4900470"))
sites_AUs=assignAUs(sites)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.