Recon: Compare two dataframe to show differences highlighted

Description Usage Arguments Value Examples

View source: R/recon.R

Description

Compares two data frames to show two additional columns lhs_matches, rhs_matches to inform the number of rows that matches against x and y. These columns informs if the row is present in x or y or both. Both the data frames must have the same set of columns.

Usage

1
Recon(x, y, col.names = c("lhs", "rhs"), orderby = 1)

Arguments

x

First data frame to compare.

y

Second data frame to compare with.

col.names

Informs the title of the new columns informs if matches exists. Defaulted to lhs_matches and rhs_matches.

orderby

Resulting data frame will be ordered by this column index.

Value

Returns a tibble with the difference.

Examples

1
Recon(list1, list2)

neemtreeparrot/tidbitr documentation built on May 23, 2019, 1:31 p.m.