library(leaflet)
library(rgdal)
post.areas <- readOGR(dsn="Distribution", layer="Areas")
## OGR data source with driver: ESRI Shapefile
## Source: "Distribution", layer: "Areas"
## with 124 features
## It has 1 fields
m <- leaflet(post.areas) %>% setView(lng = -5, lat = 55, zoom = 5) %>% addPolygons(weight = 0.5, fillOpacity = 0.2, smoothFactor = 0.5)
m %>% addProviderTiles("CartoDB.Positron")