summarize_layer | R Documentation |
Groups the geometric elements of a layer according to the values of the indicated attribute.
summarize_layer(layer, attribute)
layer |
A |
attribute |
A string, attribute name. |
A sf
object.
Other star database geographic attributes:
check_geoattribute_geometry()
,
define_geoattribute()
,
get_geoattribute_geometries()
,
get_geoattributes()
,
get_layer_geometry()
,
get_point_geometry()
layer <-
summarize_layer(us_layer_state, "REGION")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.