Get only additions and removals from two data sets
(data.table
objects).
The additions/removals are extracted as x
vs
y
.
This function assumes that the objects x
and y
don't share identical rows.
getSetDiff(x, y, referenceVars)
A data.table
object with the
additions/removals with respect of the comparison
between x
vs y
.
A data.table
object
A data.table
object
character vector of the columns in the data that are the used as
reference for the comparison.
If not specified, all columns present both in
newData
and oldData
are considered.