Possible values of variables (attributes) in a dataset (layer) from a data source (service).
Source:R/layer_attributes.R
layer_attributes_tbl.Rd
Get layer attribute values tibble
Arguments
- wfs
A
WFSClient
R6 object with methods for interfacing an OGC Web Feature Service. Fromemodnet_init_wfs_client()
.- service
the EMODnet OGC WFS service name. For available services, see
emodnet_wfs()
.- service_version
- layer
character sting of layer name. To get info on layers, including
layer_name
useemodnet_get_wfs_info()
.
Details
Request excluding spatial information can be significantly faster. Can be useful for inspecting attribute values and constructing feature filters for more targeted and faster layer download.
See also
Attributes metadata:
layer_attribute_descriptions()
,
layer_attribute_inspect()
,
layer_attributes_get_names()
,
layer_attributes_summarise()
Examples
layer_attributes_tbl(service = "biology", layer = "mediseh_zostera_m_pnt")
#> ✔ WFS client created successfully
#> ℹ Service: "https://geo.vliz.be/geoserver/Emodnetbio/wfs"
#> ℹ Version: "2.0.0"
#> # A tibble: 54 × 3
#> gml_id id country
#> <chr> <int> <chr>
#> 1 mediseh_zostera_m_pnt.1 0 Spagna
#> 2 mediseh_zostera_m_pnt.2 0 Spagna
#> 3 mediseh_zostera_m_pnt.3 0 Spagna
#> 4 mediseh_zostera_m_pnt.4 0 Spagna
#> 5 mediseh_zostera_m_pnt.5 0 Spagna
#> 6 mediseh_zostera_m_pnt.6 0 Spagna
#> 7 mediseh_zostera_m_pnt.7 0 Spagna
#> 8 mediseh_zostera_m_pnt.8 0 Francia
#> 9 mediseh_zostera_m_pnt.9 0 Italia
#> 10 mediseh_zostera_m_pnt.10 0 Italia
#> # ℹ 44 more rows