Delete rows in a text.table where the number of identical records within a group is more than a certain threshold
Useful links