I am trying to perform string filtering based on R. I have multiple hierarchies and I need to group them together
I have prepared an example:
library(