Get startedGet started for free

Down South

Building a solid base has set us up to map every college with just a few lines of code. Run the following in the console and explore the map to determine which college is the southernmost public college in the continental (i.e., mainland) US.

pal <- colorFactor(palette = c("red", "blue", "#9b4a11"), 
                   levels = c("Public", "Private", "For-Profit"))

m2 %>% 
    addCircleMarkers(radius = 2, label = ~name, color = ~pal(sector_label))

This exercise is part of the course

Interactive Maps with leaflet in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise