Returns a list of datasets

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

Koen Hufkens

Examples


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")
}