Skip to content
R for the Rest of Us Logo

Starting a Map in leaflet (03_02)

This lesson is locked

Get access to all lessons in this 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.

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 8, 2023

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

David Keyes

David Keyes

May 8, 2023

Are you sure you loaded the countries50 data frame?