Summarize the rows changed between two dataframes
Source:R/present_rows_changed.R
present_rows_changed.RdWhen given two dataframes, uses sheet_comp to compare the two dataframes, then presents the rows that have changed: prints the row numbers to the console, and then returns the "diff" of those rows, with column names matching excel column naming conventions.
Arguments
- t1
First dataframe
- t2
Second dataframe, same dimensions as first.
- digits.signif
When comparing numeric values, what decimal do we want to round to before flagging changes? Also used to limit printing of changes? Numeric, defaults to 4.
- trim.cols
Remove unchanged columns? Useful with wide dataframes when viewing results in the console. Defaults to TRUE.
- diff.only
Show only the changed values? defaults to TRUE.