Collect meta information, such as vocabularies used,
for specific Copernicus marine products
cms_product_metadata(product, type = c("list", "xml"))
Returns a named list
(when type = "list"
) with info about the requested product
.
Returns the same info as xml_document
(see xml2::xml_new_document()
) when type = "xml"
.
Returns NULL
when contacting Copernicus fails.
An identifier (type character
) of the desired Copernicus marine product.
Can be obtained with cms_products_list
.
A character
string indicating how the data should be returned. Should be one of
"list"
or "xml"
.
Pepijn de Vries
Other product-functions:
cms_cite_product()
,
cms_product_details()
,
cms_product_services()
,
cms_products_list()
,
copernicus_cite_product()
,
copernicus_product_details()
,
copernicus_product_metadata()
,
copernicus_products_list()
# \donttest{
cms_product_metadata("GLOBAL_ANALYSISFORECAST_PHY_001_024")
# }
Run the code above in your browser using DataLab