merge_delete: Merge 'sf' Deletes

Description Usage Arguments

View source: R/merge.R

Description

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

Usage

1
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 documentation built on Feb. 3, 2020, 1:07 a.m.