header_tag.html

Skip to contents

Call a service to check on values from: https://api.waterdata.usgs.gov/samples-data/codeservice/docs.

Usage

check_param(service = "characteristicgroup", ...)

Arguments

service

Options are: "characteristicgroup", "states", "counties", "countries", "sitetype", "samplemedia", "characteristics", "observedproperty"

...

Optional additional query arguments. Only "characteristics" and "observedproperty" have additional parameters options.

Value

List, structure depends on service.

Examples


# \donttest{
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")

# }