layer_attribute_inspect: Summary of individual variable (attribute) in a dataset...

View source: R/layer_attributes.R

layer_attribute_inspectR Documentation

Summary of individual variable (attribute) in a dataset (layer) from a data source (service).

Description

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. From emodnet_init_wfs_client().

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.

See Also

Attributes metadata: layer_attribute_descriptions(), layer_attributes_get_names(), layer_attributes_summarise(), layer_attributes_tbl()

Examples


wfs <- emodnet_init_wfs_client(service = "biology")
layer_attributes_get_names(wfs, layer = "mediseh_zostera_m_pnt")
layer_attribute_inspect(
  wfs, layer = "mediseh_zostera_m_pnt",
  attribute = "country"
)


EMODnet/EMODnetWFS documentation built on June 14, 2025, 2:16 p.m.