Skip to content
R for the Rest of Us: A Statistics-Free Introduction is out now! Check it out →
R for the Rest of Us Logo

Mapping with R

34 lessons

Starting a Map in leaflet (03_02)

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window

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.

Learn More

I did slightly simplify how to work with map tiles in {leaflet}, this page showcases all the tiles available but some require an API key and might not be free. In {leaflet} we use ~name to access columns in datasets, the ~ character is called "formula".

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Oscar Tetteh

Oscar Tetteh

May 9, 2023

Hi I had an error stating -> "Error in st_as_sf(.) : object 'countries50' not found"