# NOT RUN {
library(tigris)
library(leaflet)
leg <- state_legislative_districts("Maine", "lower", cb = TRUE)
leaflet(leg) %>%
addProviderTiles("CartoDB.Positron") %>%
addPolygons(fillColor = "white",
color = "black",
weight = 0.5)
# }
Run the code above in your browser using DataLab