domain_values {rATTAINS} | R Documentation |
Download Domain Values
Description
Provides information on allowed parameter values in ATTAINS.
Usage
domain_values(domain_name = NULL, context = NULL, tidy = TRUE, ...)
Arguments
domain_name |
(character) Specified the domain name to obtain valid
parameter values for. Defaults to |
context |
(character) When specified, the service will return domain_name values alongside the context. optional. |
tidy |
(logical) |
... |
list of curl options passed to |
Value
If tidy = FALSE
the raw JSON string is returned, else the JSON
data is parsed and returned as a tibble.
Note
Data downloaded from the EPA webservice is automatically cached to reduce uneccessary calls to the server.
Examples
## Not run:
## return a tibble with all domain names
domain_values()
## return allowable parameter values for a given domain name and context
domain_values(domain_name="UseName",context="TCEQMAIN")
## return the query as a JSON string instead
domain_values(domain_name="UseName",context="TCEQMAIN", tidy= FALSE)
## End(Not run)