I have two data frames
df1 = data.frame( Id=c(1, 2, 3), address = c(3130, 5234, 1400))
df2 = data.frame(Id=c(1,1,2, 3, 3), address = c(5300, 3130, 5430, 5500, 2410))
I'm trying to match each address in df1
against every address in df2
that has a matching Id
, and return a True
if it matched and a False
if it didn't.
So the result would be TRUE, FALSE, FALSE