0

I have two data frames:

ID Customer Productnumber
1  1         123456
2  2         4565841
3  1         4651231
4  2         123456
5  3         456454

and the second one:

ID Productnumber Info
1  123456        A
2  4565841       B
3  4651231       B

Now I want to join both data frames but keep only the lines that are contained in data frame B.

I have tried it with diffrent dplyr solutions but I can't find the right way.

So the output should looks like this:

ID Customer Productnumber  Info
1  1         123456        A 
2  2         4565841       B 
3  1         4651231       B
Timothy_Goodman
  • 393
  • 1
  • 5
  • 18

0 Answers0