Learn R Programming

spnet (version 0.9.1-0)

world.map.simplified: The TM_WORLD_BORDERS_SIMPL-0.3 world map.

Description

The simplified version of the world map provided by Bjorn Sandvik, thematicmapping.org.

Arguments

Format

A SpatialPolygonsDataFrame.

Details

The map was imported in R as follows:

  require(maptools)
  world.map.simplified <- readShapeSpatial("~/TM_WORLD_BORDERS_SIMPL-0.3/TM_WORLD_BORDERS_SIMPL-0.3.shp")
  slot(world.map.simplified, 'data')[,'NAME'] <- iconv(slot(world.map.simplified, 'data')[,'NAME'], "latin1", "UTF-8")
  save(world.map.simplified, file="data/world.map.simplified.rda")

The result is a SpatialPolygonsDataFrame object. Its data slot contains a data frame with 246 observations and 11 variable:

  • FIPS. FIPS 10-4 Country Code
  • ISO2. ISO 3166-1 Alpha-2 Country Code
  • ISO3. ISO 3166-1 Alpha-3 Country Code
  • UN. ISO 3166-1 Numeric-3 Country Code
  • NAME. Name of country/area
  • AREA. Land area, FAO Statistics (2002)
  • POP2005. Population, World Polulation Prospects (2005)
  • REGION. Macro geographical (continental region), UN Statistics
  • SUBREGION. Geographical sub-region, UN Statistics
  • LON. Longitude
  • LAT. Latitude