reconcile_without_index: Reconcile Two Data Frames

View source: R/reconcile.R

reconcile_without_indexR Documentation

Reconcile Two Data Frames

Description

This function compares two data frames —'new_df' (the updated version) and 'old_df' (the previous version) —to identify differences between them. The comparison can be performed across all shared columns or restricted to a specified subset of columns.

Usage

reconcile_without_index(old_df, new_df, lookup_columns = NA)

Arguments

old_df

A data frame containing the preceding version of the data, used as the reference for comparison.

new_df

A data frame containing the most recent version of the data.

lookup_columns

A character vector specifying which columns should be used for comparison. By default 'NA', meaning that all columns common to both 'new_df' and 'old_df' are included. If one or more column names are provided, only those columns will be compared.

Value

A data frame summarizing differences between 'new_df' and 'old_df', including which columns changed and the details of those changes.

Author(s)

Lukasz Andrzejewski


datetoiso documentation built on Dec. 7, 2025, 9:06 a.m.