Exercise

The gapminder dataset contains economic and demographic data about various countries since 1952. Filter the gapminder tibble and inspect which countries had a population of over 1.000.000.000 in the year 2007! The required packages are already loaded.

  1. Use the filter() function on the gapminder tibble.
  2. Filter all rows where the year variable is equal to 2007 and the population pop is greater than 1000000000!
Output

Submit code to see output here.

Filter data frame rows