I really need your help on this, cant figure a way to do it.
I have added a picture of an example that illustrates the challenge I am having. I am trying to solve this in R. In the left hand table I have a column of items (hammer, saw, ax) and they have adjacent column of vendor number.
I am trying to filter out all items that have only one unique vendor number, basically single sourced items. Table on the right hand side in the picture represents the outcome I am looking for. It has identified items that have only one vendor and filtered all rows of that item.
If you have any idea I would greatly appreciate it. Huge thanks in advance.