write_shp: Write a shapefile to disk

Description Usage Arguments Value

View source: R/write.R

Description

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.)

Usage

1
write_shp(shp, path, ...)

Arguments

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.

Value

No return value, called for side effects


upstartr documentation built on Feb. 23, 2021, 9:06 a.m.