powered by
A `SpatialPolygonsDataFrame` where each polygon represents a state
A `SpatialPointsDataFrame` of centroids of each state
DKOS_Electoral_College_Map_v1 DKOS_Electoral_College_Map_v1.states DKOS_Electoral_College_Map_v1.centers
## Not run: # library(leaflet) # library(tilegramsR) # spdf <- DKOS_Electoral_College_Map_v1 # leaflet(spdf) %>% addPolygons() # ## End(Not run)
Run the code above in your browser using DataLab