Do a Git Style Diff of the Rows Between Two Dataframes with Similar Structure

Compares two dataframes which have the same column structure to show the rows that have changed. Also gives a git style diff format to quickly see what has changes in addition to summary statistics.


compareDF 1.7.0

  • Provided options to name the columns in the HTML output
  • Provided option change column name
  • Provided optiongroup column name

compareDF 1.6.0

  • Added option to specify different types of tolerances. Now you can use difference as an argument to use difference rather than ratio
  • Fixed some bugs
  • Lot more tests

compareDF 1.5.0

  • Added an option to preserve the rows that have not changed in the anlysis using the keep_unchanged argument
  • Added an option to set the color scheme in the HTML using the color_scheme argument.
  • Updated Documentation
  • Fixed some bugs
  • Fixed dependencies

compareDF 1.3.1

  • added a test dependency(stringr) as notified by CRAN

compareDF 1.3.0

  • added an option to ignore errors stop_on_error

compareDF 1.2.0

  • Fixed bugs
  • view_html function to view the html file created for setups that cannot print html directly

compareDF 1.1.2

  • compareDF can now handle negative inputs correctly

compareDF 1.1.1

  • Fixed some bugs when the two frames are similar except reordering

compareDF 1.1.0

  • Fixed some bugs

compareDF 1.0.0

  • First Release!

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.7.1 by Alex Joseph, 6 days ago

Browse source code at

Authors: Alex Joseph [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports dplyr, magrittr, htmlTable, tidyr, stringr

Suggests testthat

See at CRAN