I am trying to map the Lower-layer Super Output Area (LSOA)of London. I could only find the shapefiles in this address:
in the following zip file:
Below is the code I'm using to map the shapfiles using R.
library(rgdal) library(tidyverse) library(leaflet) lsao <- readOGR(dsn = "ESRI", layer = "LSOA_2011_London_gen_MHW") #Read the shapefiles from the ESRI folder lsao %>% leaflet() %>% setView(-0.1000, 51.5,zoom = 10) %>% addTiles() %>% addPolygons()
The above code just opens a Leaflet map with no polygons on the map. I have never had a problem mapping shapefiles using the above code and that's why I think there might be something wrong with the shapefiles on the UK government website. I was wondering if anyone has more information on this issue?