wf_product_info {ecmwfr}R Documentation

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 / 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.

Author(s)

Reto Stauffer, Koen Hufkens

See Also

wf_datasets.

Examples

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

## End(Not run)

[Package ecmwfr version 1.4.0 Index]