R/wf_product_info.R
wf_product_info.Rd
Shows and returns detailed product information about a specific data set
(see wf_datasets
).
wf_product_info(dataset, user, service = "webapi", simplify = TRUE)
character, name of the data set for which the product information should be loaded.
string, user ID used to sign up for the CDS / ADS data service,
used to retrieve the token set by wf_set_key
.
which service to use, one of webapi
, cds
or ads
(default = webapi)
boolean, default TRUE
. If TRUE
the description
will be returned as tidy data instead of a nested list.
Downloads a tidy data frame with product descriptions from CDS. If
simplify = FALSE
a list with product details will be returned.
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)
}