wf_datasets: ECMWF dataset list

View source: R/wf_datasets.R

wf_datasetsR Documentation

ECMWF dataset list

Description

Returns a list of datasets

Usage

wf_datasets(user, service = "webapi", simplify = TRUE)

Arguments

user

user (email address) used to sign up for the ECMWF data service, used to retrieve the token set by wf_set_key

service

which service to use, one of webapi, cds or ads (default = webapi)

simplify

simplify the output, logical (default = TRUE)

Value

returns a nested list or data frame with the ECMWF datasets

Author(s)

Koen Hufkens

See Also

wf_set_key wf_transfer wf_request

Examples


## Not run: 
# set key
wf_set_key(email = "test@mail.com", key = "123")

# get a list of services
wf_services("test@mail.com")

# get a list of datasets
wf_datasets("test@mail.com")

## End(Not run)

ecmwfr documentation built on Jan. 22, 2023, 1:23 a.m.