View source: R/read_USGS_samples.R
check_param | R Documentation |
Call a service to check on values from: https://api.waterdata.usgs.gov/samples-data/codeservice/docs.
check_param(service = "characteristicgroup", ...)
service |
Options are: "characteristicgroup", "states", "counties", "countries", "sitetype", "samplemedia", "characteristics", "observedproperty" |
... |
Optional additional query arguments. Only "characteristics" and "observedproperty" have additional parameters options. |
List, structure depends on service.
groups <- check_param("characteristicgroup")
states <- check_param("states")
countries <- check_param("countries")
counties <- check_param("counties")
sitetypes <- check_param("sitetype")
samplemedia <- check_param("samplemedia")
characteristics <- check_param("characteristics",
group = "Biological")
observedProperties <- check_param("observedproperty",
text = "phosphorus")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.