Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Download Domain Values

Source:R/domain_values.R
domain_values.Rd

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 validparameter values for. Defaults toNULL which 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.FALSE the function returns the raw JSON string.

...

list of curl options passed tocrul::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)}# }

[8]ページ先頭

©2009-2025 Movatter.jp