Skip to contents

Given both top-bottom and left-right comparison data frames, this function determines the row indices for each comparison data frame, by column, that have changed between df1 and df2

Usage

get_changed_row_indices_by_column(
  top_bottom_view,
  left_right_view,
  comparison_table_diff,
  id_cols
)

Arguments

top_bottom_view

a data frame of comparison data where each row in df1 is displayed directly above its df2 counterpart

left_right_view

a data frame of comparison data where each column in df1 is displayed directly to the left of its df2 counterpart

comparison_table_diff

a data frame returned by the comparison_table_diff element of a compare_df_wrapper() output

id_cols

a character vector of id columns output from compare_cols()

Value

a named list where each element's name is a column in comparison_table_diff and the elements themselves are numeric vectors with the row indices that changed