Learn R Programming

CopernicusMarine (version 0.2.5)

cms_product_metadata: Obtain meta data for a specific Copernicus marine product

Description

[Stable] Collect meta information, such as vocabularies used, for specific Copernicus marine products

Usage

cms_product_metadata(product, type = c("list", "xml"))

Value

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.

Arguments

product

An identifier (type character) of the desired Copernicus marine product. Can be obtained with cms_products_list.

type

A character string indicating how the data should be returned. Should be one of "list" or "xml".

Author

Pepijn de Vries

See Also

Other product-functions: cms_cite_product(), cms_product_details(), cms_product_services(), cms_products_list()

Examples

Run this code
cms_product_metadata("GLOBAL_ANALYSISFORECAST_PHY_001_024")

Run the code above in your browser using DataLab