ecmwfr (version 1.5.0)

wf_product_info: Renders product lists for a given dataset and data service

Description

Shows and returns detailed product information about a specific data set (see wf_datasets).

Usage

wf_product_info(dataset, user, service = "webapi", simplify = TRUE)

Value

Downloads a tidy data frame with product descriptions from CDS. If simplify = FALSE a list with product details will be returned.

Arguments

dataset

character, name of the data set for which the product information should be loaded.

user

string, user ID used to sign up for the CDS / ADS 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

boolean, default TRUE. If TRUE the description will be returned as tidy data instead of a nested list.

Author

Reto Stauffer, Koen Hufkens

See Also

wf_datasets.

Examples

Run this code
if (FALSE) {
   # Open description in browser
   wf_product_info(NULL, "reanalysis-era5-single-levels")

   # Return information
   info <- wf_product_info(NULL,
    "reanalysis-era5-single-levels", show = FALSE)
   names(info)
}

Run the code above in your browser using DataLab