![](../logo.png)
Get all the possible values of a column of a Marine Regions data product
Source:R/08_mrp_get.R
mrp_col_unique.Rd
Get all the possible values of a column of a Marine Regions data product
Arguments
- layer
(character) Identifier of the data product. See mrp_list
- colname
(character) Column name in the data product. See
mrp_colnames()
Value
A numeric or character vector with the unique values of a column of a Marine Regions data product.
Details
This function becomes useful to write CQL or OGC filters that you can pass to mrp_get()
or mrp_view()
as
it helps to know all the possible values in the column name that you want to query on beforehand. Use it
together with mrp_colnames()
to know the columns and data types in the data product.
See also
mrp_list to describe the list of products, mrp_colnames()
to get the names and data type of
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
.