Convert GEOMETRYCOLLECTION to POLYGONS
convert_sf_geocollection(x)
x
A sf object
A converted sf object from GEOMETRYCOLLECTION to POLYGON or MULTIPOLYGON.