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

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

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.

Value

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

See also

Author

Reto Stauffer, Koen Hufkens

Examples

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