ecmwfr (version 1.2.2)

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)

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 data service, used to retrieve the token set by wf_set_key.

service

which service to use, one of webapi or cds

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

wf_datasets.

Examples

Run this code
# NOT RUN {
   # 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