Exercise: Rename columns
gapminder_india dataset contains information about the economic and demographic change in India over the last decades. Inspect how the population in India changed over time:
- Use the
select()function and define
gapminder_indiaas the input tibble.
- Keep only the columns
- Rename the
populationin the output tibble.
Note that the dplyr package is already loaded.
Submit code to see output here.