Custom merge (left join) of difference data with some input data
mergeInputDiff(diffData, inputData, typeData, colsBy)
A data.table
object.
The inputData
is joined with the columns Comparison type
and Version
from the diffData
argument.
A data.table
object as output from compareDiff
.
A data.table
object. For instance, the newData
or
the oldData
argument from compareTables
.
String with type of data, as "new" for newData
or
"old" for oldData
.
Character vector of columns for doing the merge by.