Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write_shp

Write a shapefile to disk


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

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

Utilities Powering the Globe and Mail's Data Journalism Template

v0.1.1
MIT + file LICENSE
Authors
Tom Cardoso [aut, cre] (creator and maintainer), Michael Pereira [ctb], The Globe and Mail Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.