I'm doing a left_join
on two dataframes: file1
and file2
. file1
's length is 1323 records and has some duplicate rows which I need preserved. file2
has 443 records. I'm joining them on 3 conditions.
file1 <- left_join(file1, file2, by=c("ID", "Name", "Value"))
post which I get 1327 records, an additional pair each for the two duplicate pairs. How can I ensure I get only the original records from file1 only post the join??