mrp_colnames | R Documentation |
Get the names of the columns and data type of the data product
mrp_colnames(layer)
layer |
(character) Identifier of the data product. See mrp_list |
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
A data frame with the column names and data type in the Marine Regions data product
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
.
mrp_colnames("eez")
mrp_colnames("ecoregions")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.