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

merge_delete

Merge 'sf' Deletes


Description

Internal function used with editFeatures to apply deletes to a sf object.

Usage

merge_delete(orig = NULL, deletes = NULL, by = c(id = "layerId"))

Arguments

orig

sf with the original or source data to which deletes should apply

deletes

sf with sf data to delete

by

named vector with the name of the vector representing the column in orig that we will use to match and the value of the vector representing the column in deletes that we will use to match. The argument is intended to work like the *join functions in dplyr. Note, this function will only use the first name and first value of the vector for matching.


mapedit

Interactive Editing of Spatial Data in R

v0.6.0
MIT + file LICENSE
Authors
Tim Appelhans [aut, cre], Kenton Russell [aut], Lorenzo Busetto [aut], Josh O'Brien [ctb], Jakob Gutschlhofer [ctb]
Initial release
2020-02-01

We don't support your browser anymore

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