Exercise: Use filter() with a single expression
gapminder dataset contains economic and demographic data about various countries since 1952.
Inspect the data for a single year by using the
- Apply the
filter()function on the
- Keep only the rows where the
yearis equal to 2007
Note that the dplyr and gapminder packages are already loaded.
Submit code to see output here.