MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Data Manipulation with dplyr

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

babynames %>%
  # Filter for the year 1990
  ___
  # Sort the number column in descending order 
  ___
Edit dan Jalankan Kode