| assignUses | R Documentation | 
This function assigns beneficial use classes to water quality portal type site objects (or data with site information attached).
assignUses(
  data,
  lat = "LatitudeMeasure",
  long = "LongitudeMeasure",
  flatten = FALSE
)
| 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. | 
| flatten | Logical. If FALSE (default), maintain use categorys as single comma separated column. If TRUE, use column and data are flattened by expanded use column. | 
# Read a couple of sites (Mantua Reservoir and a tributary)
sites=readWQP(type="sites", siteid=c("UTAHDWQ_WQX-4900440","UTAHDWQ_WQX-4900470"))
sites_uses=assignUses(sites)
sites_uses_flat=assignUses(sites, flatten=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.