write_shp | R Documentation |
Utility function that wraps sf::st_write
, but first
removes a previous version of the shapefile if it exists (by default, sf::st_write
will throw an error.)
write_shp(shp, path, ...)
shp |
A spatial object. |
path |
The desired filepath for the shapefile. |
... |
Other settings to pass to st_write, such as format, width, height or dpi. |
No return value, called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.