dataCompareR (version 0.1.0)

matchSingleIndex: Generate two dataframes that contain the same rows based on a single index

Description

Generate two dataframes that contain the same rows based on a single index

Usage

matchSingleIndex(df_a, df_b, index_key, original_keys)

Arguments

df_a

A dataframe

df_b

A dataframe

index_key

A character vector

original_keys

A character vector

Value

A list containing the two dataframes, subsetted by shared indices, and a list which itself contains the vectors for the dropped rows