View source: R/domain_values.R
domain_values | R Documentation |
Provides information on allowed parameter values in ATTAINS.
domain_values(domain_name = NULL, context = NULL, tidy = TRUE, ...)
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 |
If tidy = FALSE
the raw JSON string is returned, else the JSON
data is parsed and returned as a tibble.
Data downloaded from the EPA webservice is automatically cached to reduce uneccessary calls to the server.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.