Session Ready
Exercise

Using top_n with babynames

You saw that you could use filter() and arrange() to find the most common names in one year. However, you could also use group_by and top_n to find the most common name in every year.

Instructions
100 XP
  • Use group_by and top_n to find the most common name for US babies in each year.