I'm a bit confused about the keyword to search this problem. Could you help me or give me any suggestion to solve this problem in R
I have the dataframe A like this
list_fruit
<chr>
Orange
Grape
Watermelon
Mango
and I want to bring this dataframe match with another dataset B
This is dataset B
Fruit      Number    Price
<chr>      <int>     <int>
Banana      56        25
Watermelon  5         100
Pineapple   96        150
Guava       47        20
Orange      3         120
so the rows of 'Watermelon' and 'Orange' will be selected and were collected in new dataframe
Fruit      Number    Price
<chr>      <int>     <int>
Watermelon  5         100
Orange      3         120
Thank you in advanced
 
    