Implements a limit on number of unique values. The limit can be set within the code and is currently set to 15. The code will sort unique values by order of frequency, select the 15th element's number of appearances, then collapse all unique values with that number of appearances or lower into "Other" (or Otra in Spanish).
Implements a limit on number of unique values. The limit can be set within the code and is currently set to 15. The code will sort unique values by order of frequency, select the 15th element's number of appearances, then collapse all unique values with that number of appearances or lower into "Other" (or Otra in Spanish).