varSelect | R Documentation |
Loops through the available variables in an edinfo object and asks whether or not each should be downloaded, then stores the result for passing on to formatURL
varSelect(edinfo, select = NULL)
edinfo |
a datalist, either from getEdinfo or created by erddapToEdinfo |
select |
(optional) logical vector of which variables to select.
If left as default |
the same object as edinfo
with an updated varSelect
field
Taiki Sakai taiki.sakai@noaa.gov
sstEdi <- getEdinfo()[['jplMURSST41']]
## Not run:
# interactively select
sstEdi <- varSelect(sstEdi)
## End(Not run)
# select all variables
sstEdi <- varSelect(sstEdi, TRUE)
# select the first two of four
sstEdi <- varSelect(sstEdi, c(TRUE, TRUE, FALSE, FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.