Guy Harling • over 11 years ago
INFO: Geographic files
If anyone is looking for spatial files at the various administrative levels of aggregation, GADM maintains them well in various file formats: http://www.gadm.org/.
As an example, the shapefiles can be loaded into R using code like this:
library(rgdal)
# If shapefiles saved in a subfolder "shapefiles" of your working directory:
setwd("XXX")
lbr1 <- readOGR(dsn=paste(getwd(), "/shapefiles", sep=""), layer="SLE_adm1")
summary(lbr1)
plot(lbr1)
Comments are closed.
1 comment
Guy Harling • over 11 years ago
Oh, and if you want the shp files for the 3 countries, they are zipped here: https://dl.dropboxusercontent.com/u/4906923/3country_shapefiles.zip