browse {rerddap} | R Documentation |
Browse a dataset webpage.
Description
Note that it is an error to call this when base::interactive()
returns FALSE
Usage
browse(x, url = eurl(), ...)
Arguments
x |
datasetid or an object associated with a datasetid such
|
url |
A URL for an ERDDAP server. Default:
https://upwell.pfeg.noaa.gov/erddap/ - See |
... |
Further args passed on to |
Value
if in interactive mode, opens a URL in your default browser; if not, then prints the URL in the console
Author(s)
Ben Tupper btupper@bigelow.org
Examples
## Not run:
if (interactive()) {
# browse by dataset_id
browse('erdATastnhday')
# browse info class
my_info <- info('erdATastnhday')
browse(my_info)
# browse tabledap class
my_tabledap <- tabledap('erdCalCOFIlrvsiz', fields=c('latitude','longitude','larvae_size',
'itis_tsn'), 'time>=2011-10-25', 'time<=2011-10-31')
browse(my_tabledap)
}
## End(Not run)
[Package rerddap version 1.1.0 Index]