LoslegenKostenlos starten

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))

Diese Übung ist Teil des Kurses

<Kurs>Interactive Maps with leaflet in R</Kurs>
Kurs ansehen

Interaktive praktische Übung

Verwandle Theorie mit einer unserer interaktiven Übungen in die Praxis

Übung starten