The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN_Status_Badge CircleCI Coverage status Dependencies Downloads

diffdf

The diffdf package is designed to enable detailed comparison of two data.frames. Whilst many packages exist for informing you if there are differences between data.frames, none provide as much detail on what and where those differences are as diffdf does!

Currently diffdf supports the following: - Checking for differences in values - Checking for differences in attributes - Checking for differences in classes - Checking for differences in column names - Checking for differences in the number of observations - Matching rows by key/id variables - Fuzzy comparisons (i.e. treating doubles and integers as the same) - Extracting datasets of different rows

For more information on features please consult the vignette and man pages.

Installation

You can install the released version of diffdf from CRAN with:

install.packages("diffdf")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("gowerc/diffdf")

Example

library(diffdf)
iris2 <- iris
for (i in 1:3) iris2[i,i] <- i^2
iris2$new_var <- "hello"
class(iris2$Species) <- "some class"
diffdf(iris, iris2)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.