Description Usage Arguments Value Examples
This function looks up default acute or chronic Al criteria values. The function sends lat/long values via a query to a Oregon DEQ map server to determine deafult DOC values. DOC values are based on georegion as described in ##insert link to interpretation doc when finalized##. If -9999 is returned, station is outside of georeferenced area.
1 | al_default_criteria(lat, long, type = c("Chronic"))
|
lat |
Latitude of station |
long |
Longitude of station |
type |
If 'Chronic' return CCC, if 'Acute' return CMC |
default criteria value. If NA is returned, station is outside of georeferenced area.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
al_default_criteria(45.57770, -122.7476, type = "Acute")
al_default_criteria(45.57770, -122.7476, type = "Chronic")
#Return chronic criteria
aluminum_data_mlocs <- aluminum_data %>%
select(MLocID, Lat_DD, Long_DD) %>%
distinct() %>%
rowwise() %>%
mutate(def_DOC = Al_default_criteria(Lat_DD, Long_DD))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.