search for: loadgadm

Displaying 2 results from an estimated 2 matches for "loadgadm".

2012 Aug 13
1
Fine Tuning Country Map
...######################################? ## you will need the sp-package library('sp') ## load a file from GADM (you just have to specify the countries "special part" of the file name, like "ARG" for Argentina. Optionally you can specify which level you want to have loadGADM <- function (fileName, level = 0, ...) { load(url(paste("http://gadm.org/data/rda/", fileName, "_adm", level, ".RData", sep = ""))) gadm } ## the maps objects get a prefix (like "ARG_" for Argentina) changeGADMPrefix <- functi...
2013 Nov 27
0
GADM Data Download
...####################################? ## you will need the sp-package library('sp') ## load a file from GADM (you just have to specify the countries "special part" of the file name, like "ARG" for Argentina. Optionally you can specify which level you want to have loadGADM <- function (fileName, level = 0, ...) { load(url(paste("http://gadm.org/data/rda/", fileName, "_adm", level, ".RData", sep = ""))) gadm } ## the maps objects get a prefix (like "ARG_" for Argentina) changeGADMPrefix <- functi...