powered by
Return geometry type of an object, as a factor
st_geometry_type(x)
object of class sf or sfc
a factor with the geometry type of each simple feature in x