Loading…
useR!2017 has ended
Thursday, July 6 • 1:48pm - 2:06pm
Daff: diff, patch and merge for data.frames

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Keywords: Reproducible research, data versioning
Webpages: https://CRAN.R-project.org/package=daff, https://github.com/edwindj/daff
In data analysis, it can be necessary to compare two files comparing tabular data. Unfortunately, existing tools have been customized for comparing source code or other text files, and are unsuitable for comparing tabular data.
The daff R package provides tools for comparing and tracking changes in tabular data stored in data.frames. daff wraps Paul Fitz’s multi-language daff package (https://github.com/paulfitz/daff), which generates data diff that capture row and column modifications, reorders, additions, and deletions. These data diffs follow a standard format (http://dataprotocols.org/tabular-diff-format/) which can be used to HTML formatted diffs, summarize changes, and even patch (a new version of) input data.
daff augments brings the utility of source-code change tracking tools to tabular data, enabling data versioning as a component of software development and reproducible research.
References

Speakers

daff pdf

Thursday July 6, 2017 1:48pm - 2:06pm CEST
2.01 Wild Gallery