![](../logo.png)
Get the names of the columns and data type of the data product
Source:R/08_mrp_get.R
mrp_colnames.Rd
Get the names of the columns and data type of the data product
Arguments
- layer
(character) Identifier of the data product. See mrp_list
Details
This function becomes useful to write CQL or OGC filters that you can pass to mrp_get()
or mrp_view()
as
it allows you to know the column names and the data types beforehand. Use it together with mrp_col_unique()
to
know all the possible values in the column name that you want to query on.
The actual description of each column is available only to the Maritime Boundaries products. See https://marineregions.org/eezattribute.php
See also
mrp_list to describe the list of products, mrp_col_unique()
to get the unique values of a the
columns of a data product, useful to write queries that can be passed to mrp_get()
or mrp_view()
via the
arguments cql_filter
or filter
.