identify_differences: identify_differences

View source: R/identify.R

identify_differencesR Documentation

identify_differences

Description

Compares each column within 2 datasets to identify any values which they mismatch on.

Usage

identify_differences(
  BASE,
  COMP,
  KEYS,
  exclude_cols,
  tolerance = sqrt(.Machine$double.eps),
  scale = NULL
)

Arguments

BASE

Base dataset for comparison (data.frame)

COMP

Comparator dataset to compare base against (data.frame)

KEYS

List of variables that define a unique row within the datasets (strings)

exclude_cols

Columns to exclude from comparison

tolerance

Level of tolerance for numeric differences between two variables

scale

Scale that tolerance should be set on. If NULL assume absolute


gowerc/diffdf documentation built on April 9, 2024, 9:34 p.m.