sf
object, possibly union-ing geometries# S3 method for sf
aggregate(x, by, FUN, ..., do_union = TRUE, simplify = TRUE)
ids
was specified and attributes need to be groupedFUN
sf
object with aggregated attributes and geometries, with an additional grouping variable called Group.1
.