View source: R/writeToGISDataset.R
| writeToGISDataset | R Documentation | 
Function to write a geospatial object (e.g., an sf dataset) to a GIS dataset.
writeToGISDataset(
  obj,
  driver = "ESRI Shapefile",
  dsn = ".",
  delete_dsn = FALSE,
  layer = NULL,
  delete_layer = TRUE
)
| obj | 
 | 
| driver | 
 | 
| dsn | 
 | 
| delete_dsn | 
 | 
| layer | 
 | 
| delete_layer | 
 | 
Wrapper for functions sf::st_write for objects of class 'sf' or 'sfc' or
rgdal::writeOGR for objects of class Spatial.
#–former importFrom rgdal writeOGR
an invisible NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.