fct_lump_n

Keep the most frequent factor levels

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