dfcompare: Compare two data frames

Description Usage Arguments Value

Description

This function compares two data frames. It checks if the source and target variables are data frames, and if there are rows in both, and if the keys are a character vector, and that they keys exist in both source and target data frames.

Usage

1
dfcompare(source, target, keys, summary = TRUE)

Arguments

source

data frame of the source

target

data frame of the target

keys

a string containing a key. Pass a character vector for multiple keys. The keys will be used in a data.table join using on =.

Value

a list of data.tables for each column and the corresponding mismatches


meihkv/dfcompare documentation built on Dec. 1, 2020, 12:27 p.m.