Skip to content

Maps: Country coding

3 messages · Berthold Stegemann, Ray Brownrigg, Kjetil Halvorsen

#
Hello,

I am using the maps library for plotting maps.

To build new geograhical sets such as Europe I use

europe = c('Germany','Netherlands',...)

Is there a list of county codes used by the map function.

Thanks,
Berthold
#
On Wed, 28 Apr 2010, Berthold Stegemann wrote:
If you mean the names of the countries, have a look at the file:
${R_HOME}/library/maps/mapdata/world.N which lists the name associated with every polygon.

Note that the maps database is historical, for example Czechoslovakia is one country.

Hope this helps,
Ray Brownrigg
#
have a look at the cran pacvkage countrycode!

Kjetil

On Tue, Apr 27, 2010 at 5:30 PM, Ray Brownrigg
<Ray.Brownrigg at ecs.vuw.ac.nz> wrote: