IniziaInizia gratis

Filtering and arranging for one year

The dplyr verbs you've learned are useful for exploring data. For instance, you could find out the most common names in a particular year.

Questo esercizio fa parte del corso

Data Manipulation with dplyr

Visualizza il corso

Istruzioni dell'esercizio

  • Filter for only the year 1990.
  • Sort the table in descending order of the number of babies born.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

babynames %>%
  # Filter for the year 1990
  ___
  # Sort the number column in descending order 
  ___
Modifica ed esegui il codice