Learn R Programming

dots (version 0.0.2)

clip_water: Remove Water

Description

Remove Water

Usage

clip_water(shp, water, filter_islands = FALSE, ...)

Value

tibble with sf geometries

Arguments

shp

input shp with sf geometry.

water

water shapes to remove with sf geometry

filter_islands

logical. Should additional filtering be done to remove small areas?

...

additional arguments to pass to rmapshaper::ms_filter_islands(). Only used if filter_islands = TRUE.

Examples

Run this code
# \donttest{
# time to run varies greatly, depending on machine
data(suffolk)
data(boston_water)
clip_water(suffolk, boston_water[10, ])
# }

Run the code above in your browser using DataLab