Have started to learn R to complete a mapping project that I am working on.
IDE; R Studio with ggmap, rgdal, rgeos, maptools, dplyr, tdyr and tmap
Downloaded http://data.gov.uk/dataset/boundary-line but no .shp files are listed just .lyr and qml. How do I use these?
Have tried the readOGR function but it returns an error message ’ Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, : Cannot open file ’
county <- readOGR(dsn = “shapes”, layer = “parish_region”) ### my code