ecmwfr (version 1.5.0)

wf_datasets: ECMWF dataset list

Description

Returns a list of datasets

Usage

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

Value

returns a nested list or data frame with the ECMWF datasets

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)

Author

Koen Hufkens

See Also

wf_set_key wf_transfer wf_request

Examples

Run this code

if (FALSE) {
# 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")
}

Run the code above in your browser using DataLab