Learn R Programming

rerddap (version 1.1.0)

ed_search: Search for ERDDAP tabledep or griddap datasets

Description

Search for ERDDAP tabledep or griddap datasets

Usage

ed_search(
  query,
  page = NULL,
  page_size = NULL,
  which = "griddap",
  url = eurl(),
  ...
)

ed_datasets(which = "tabledap", url = eurl())

Arguments

query

(character) Search terms

page

(integer) Page number

page_size

(integer) Results per page

which

(character) One of tabledep or griddap.

url

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

...

Curl options passed on to crul::verb-GET (must be named parameters)

References

https://upwell.pfeg.noaa.gov/erddap/index.html

Examples

Run this code
if (FALSE) {
(out <- ed_search(query='temperature'))
out$alldata[[1]]
(out <- ed_search(query='size'))
out$info

# List datasets
ed_datasets('table')
ed_datasets('grid')

# use a different ERDDAP server
## Marine Institute (Ireland)
ed_search("temperature", url = "http://erddap.marine.ie/erddap/")
}

Run the code above in your browser using DataLab