Skip to contents

This function ensures that the most recent record be kept. When a peer-reviewed publication co-exists with a preprint or a conference proceeding, the peer-reviewed version will be kept.

Usage

dup_rm_adj(df, id_dup_pair)

Arguments

df

A data frame (i.e., output #1 of decision_tree_adj())

id_dup_pair

A data frame listing id of potential duplicate pairs (i.e., output #2 of decision_tree_adj())

Value

The input df with duplicates removed.

Examples

if (FALSE) {
df_2 <- dup_rm_adj(df, id_dup_pair)
}