[R] Map of UK Counties - to use in R

Roger Bivand Roger.Bivand at nhh.no
Wed Aug 12 19:18:40 CEST 2009


The illustration you show is for the so-called traditional or historical
counties of England, which may be available somewhere. There are
non-georeferenced PNG files on Wikipedia, which might be used, but as far as
I can see, only UK-based academics can register for access to the edina UK
borders datasets.

One possibility is to use the 2006 NUTS boundaries shapefile from
GISCO/EUROSTAT at:

http://epp.eurostat.ec.europa.eu/portal/page/portal/gisco/geodata/reference

http://epp.eurostat.ec.europa.eu/cache/GISCO/geodatafiles/NUTS_03M_2006_SH.zip

and in R using something like:

library(rgdal)
RG <- readOGR(".", "NUTS_RG_03M_2006")
names(RG)
UK <- grep("^UK", RG$NUTS_ID)
RG_UK <- RG[UK,]
plot(RG_UK, axes=TRUE)
summary(RG_UK)

You'll then need to find the regions you want, possibly from:

http://www.statistics.gov.uk/geography/nuts.asp

so that you can retain only England, and choose the NUTS* boundaries that
suit your "counties" - which are not presently well-defined because of
boundary and administrative changes. The GISCO shapefile is in geographical
coordinates, so you'll be able to overplot points by longitude and latitude.

Hope this helps,

Roger Bivand


Raoul wrote:
> 
> Hi,
> Can anyone help me with either of these:
> 1) Map of the UK counties that I could use in R?
> 2) How could I use an existing map for example, a map from here
> http://www.itraveluk.co.uk/maps/england.html - in R. I need to use a UK
> map to plot locations on it by lat & long.
> 
> Would appreciate help on any of these.
> Thanks,
> Raoul
> 

-- 
View this message in context: http://www.nabble.com/Map-of-UK-Counties---to-use-in-R-tp24930435p24941090.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list