Skip to contents

Get summaries of layer attributes (variables)

Usage

layer_attributes_summarise(
  wfs = NULL,
  service = NULL,
  service_version = NULL,
  layer
)

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

Value

output of summary() on the attributes (variables) in a given layer for a given service.

Examples

layer_attributes_summarise(
  service = "biology",
  layer = "mediseh_zostera_m_pnt"
)
#>  WFS client created successfully
#>  Service: "https://geo.vliz.be/geoserver/Emodnetbio/wfs"
#>  Version: "2.0.0"
#>        gml_id         id         country  
#>  Length   :54   Min.   :0   Length   :54  
#>  N.unique :54   1st Qu.:0   N.unique : 7  
#>  N.blank  : 0   Median :0   N.blank  : 0  
#>  Min.nchar:23   Mean   :0   Min.nchar: 5  
#>  Max.nchar:24   3rd Qu.:0   Max.nchar: 8  
#>                 Max.   :0