Provides information on allowed parameter values in ATTAINS.
Arguments
- domain_name
(character) Specified the domain name to obtain validparameter values for. Defaults to
NULLwhich will a tibble with allthe domain names. To return the allowable parameter values for a givendomain, the domain should be specified here. optional- context
(character) When specified, the service will returndomain_name values alongside the context. optional.
- tidy
(logical)
TRUE(default) the function returns a tidiedtibble.FALSEthe function returns the raw JSON string.- ...
list of curl options passed to
crul::HttpClient()
Value
Iftidy = FALSE the raw JSON string is returned, else the JSONdata is parsed and returned as a tibble.
Note
Data downloaded from the EPA webservice is automatically cached toreduce uneccessary calls to the server.
Examples
if(FALSE){# \dontrun{## return a tibble with all domain namesdomain_values()## return allowable parameter values for a given domain name and contextdomain_values(domain_name="UseName",context="TCEQMAIN")## return the query as a JSON string insteaddomain_values(domain_name="UseName",context="TCEQMAIN", tidy=FALSE)}# }