Disambiguating Country Names (01_08)
This lesson is called Disambiguating Country Names (01_08), part of the Mapping with R course. This lesson is called Disambiguating Country Names (01_08), part of the Mapping with R course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Open the 01_08
project. Then, within the your-turn.R
file:
Combine the rnaturalearthdata::countries110
dataset with gapminder_2007
and create a choropleth comparing country populations.
Use
countryname()
to add a column togapminder_2007
that contains the ISO3C country codesJoin together the
countries110
andgapminder_2007
dataset using your new columnUse
mapview()
to visualise thelifeExp
column
Learn More
The Gapminder dataset used in this video comes from Hans Rosling’s TED Talk and I highly recommend watching it. The animated GIF included in my slides was produced using the gganimate
package using this script.
Have any questions? Put them below and we will help you out!
Course Content
34 Lessons
You need to be signed-in to comment on this post. Login.