summarize_layer {rolap}R Documentation

Summarize geometry of a layer

Description

Groups the geometric elements of a layer according to the values of the indicated attribute.

Usage

summarize_layer(layer, attribute)

Arguments

layer

A sf object.

attribute

A string, attribute name.

Value

A sf object.

See Also

Other star database geographic attributes: check_geoattribute_geometry(), define_geoattribute(), get_geoattribute_geometries(), get_geoattributes(), get_layer_geometry(), get_point_geometry()

Examples


layer <-
  summarize_layer(us_layer_state, "REGION")


[Package rolap version 2.5.1 Index]