Learn R Programming

rerddap (version 0.5.0)

browse: 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 info(), griddap() or tabledap()

url

A URL for an ERDDAP server. Default: https://upwell.pfeg.noaa.gov/erddap/. See eurl() for more information

...

Further args passed on to utils::browseURL (must be a named parameter)

Value

if in interactive mode, opens a URL in your default browser; if not, then prints the URL in the console

Examples

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab