query | R Documentation |
a method for finding possible values for a given field
query(.Object, field, ...)
## S4 method for signature 'webdata,character'
query(.Object, field, ...)
## S4 method for signature 'webdata,missing'
query(.Object, field, ...)
## S4 method for signature 'character,missing'
query(.Object, field, ...)
## S4 method for signature 'webprocess,character'
query(.Object, field, ...)
## S4 method for signature 'webgeom,character'
query(.Object, field, ...)
.Object |
a |
field |
a plural parameter name for fields in .Object (e.g., 'variables', 'times') |
... |
additional arguments passed to methods |
a character vector of values corresponding to the query field specified
Jordan S. Read
## Not run:
fabric <- webdata('prism')
query(fabric, 'variables')
wg <- webgeom()
query(wg, 'geoms')
geom(wg) <- "sample:CONUS_states"
query(wg, 'attributes')
attribute(wg) <- 'STATE'
query(wg, 'values', rm.duplicates = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.