View source: R/as.sfmultipolygon.R
as.sfmultipolygon | R Documentation |
Transform a sf object with several rows (polygons) by region to an sf object with one row by region and thus one multipolygon by region
as.sfmultipolygon(data, idregion, closepolygon = FALSE)
data |
a sf object |
idregion |
a character string which indicates the name of the
column (in |
closepolygon |
a boolean (default to |
a sf object with one row by region and one multipolygon by region.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.