fct_lump_n

Keep the most frequent to_factor levels

Collapses infrequent to_factor levels into an other bucket while keeping the most frequent levels.