daff: Data diff, patch and merge for R

daffR Documentation

Data diff, patch and merge for R

Description

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_data Find differences in values between data.frames
patch_data Apply a patch generated with diff_data to a data.frame
merge_data Merge two diverged data.frames orginating from a same parent

daff.js

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


edwindj/daff documentation built on Feb. 16, 2024, 3:12 p.m.