Daff calculates differences between two data.frames. This difference can be stored and later used to patch the original data. Differences can also be made visual by using render_diff showing what changed.

Details

Storing the difference between data sets allows for tracking or incorporating manual changes to data sets. Ideally changes to data should be scripted to be reproducable, but there are situations or scenario's where this is not possible or happens out of your control. daff can help track these changes.

actions

diff_dataFind differences in values between data.frames
patch_dataApply a patch generated with diff_data to a data.frame
merge_dataMerge two diverged data.frames orginating from a same parent

daff.js

Daff wraps the daff.js library which offers more functionality.