| varSelect {PAMmisc} | R Documentation | 
Utility for Selecting Variables to Download
Description
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
Usage
varSelect(edinfo, select = NULL)
Arguments
edinfo | 
 a datalist, either from getEdinfo or created by erddapToEdinfo  | 
select | 
 (optional) logical vector of which variables to select.
If left as default   | 
Value
the same object as edinfo with an updated varSelect field
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
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))
[Package PAMmisc version 1.12.1 Index]