compare_rows_with_same_index: Identifies and summarizes value-level changes between two...

View source: R/reconcile.R

compare_rows_with_same_indexR Documentation

Identifies and summarizes value-level changes between two datasets

Description

This function compares corresponding rows of two data frames and generates two columns:

Usage

compare_rows_with_same_index(new_df, old_df)

Arguments

new_df

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

old_df

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

Details

* **changed_cols** — a list-column containing the names of variables in which at least one change has been detected. * **change_details** — a list-column describing the specific modifications for each changed variable, expressed as "previous value - new value".

Value

A data frame augmented with two additional columns: 'changed_cols' and 'change_details'

Author(s)

Lukasz Andrzejewski


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