Skip to contents

Inspect layer attributes

Usage

layer_attribute_inspect(
  wfs = NULL,
  service = NULL,
  service_version = NULL,
  layer,
  attribute
)

Arguments

wfs

A WFSClient R6 object with methods for interfacing an OGC Web Feature Service.

service

the EMODnet OGC WFS service name. For available services, see emodnet_wfs().

service_version

[Deprecated] the WFS service version. Now always "2.0.0".

layer

character sting of layer name. To get info on layers, including layer_name use emodnet_get_wfs_info().

attribute

character string, name of layer attribute (variable). Use layer_attributes_get_names() to get layer attribute names.

Value

Detailed summary of individual attribute (variable). Particularly useful for inspecting factor or character variable levels or unique values.

Examples

if (FALSE) {
wfs <- emodnet_init_wfs_client(service = "human_activities")
layer_attributes_get_names(wfs, layer = "maritimebnds")
layer_attribute_inspect(wfs, layer = "maritimebnds", attribute = "sitename")
}