Skip to Content

rworldmap-package {rworldmap}

For mapping global data.
Package: 
rworldmap
Version: 
1.3-1

Description

Enables mapping of country level and gridded user datasets by facilitating joining to modern world maps and offering visualisation options.

Details

Package: rworldmap
Type: Package
Version: 1.3-1
Date: 2013-08-22
License: GPL (>= 2)

Version 1.01 October 2012 newly used updated Natural Earth Data for country boundaries e.g. countriesLow. Higher resolution boundaries are provided in a companion package rworldxtra. It also added country synonym matching in joinCountryData2Map.

Country Level Data can be joined to a map using joinCountryData2Map, then mapped using mapCountryData. Gridded data can be mapped using mapGriddedData.

More generic functions allow the user to provide their own polygon map using joinData2Map and mapPolys.

Bubble, bar and pie charts can be added to maps using mapBubbles, mapBars and mapPies.

Try the new method barplotCountryData for producing a ranked bar plot of country data with country names that can provide a useful companion to maps.

Options are provided for categorising data, colouring maps and symbols, and adding legends.

Type vignette('rworldmap') to access a short document showing a few examples of the main rworldmap functions to get you started.

Examples

#mapping country level data, with no file specified it uses internal example data
mapCountryData()
#specifying region
mapCountryData(mapRegion="asia")
#mapping gridded data, with no file specified it uses internal example data
mapGriddedData()
#specifying region 
mapGriddedData(mapRegion="africa")  
#aggregating gridded data to country level 
#with no file specified it uses internal example data
mapHalfDegreeGridToCountries()

Author(s)

Andy South

with contributions from Joe Scutt-Phillips, Barry Rowlingson, Roger Bivand and Pru Foster

Maintainer:

Documentation reproduced from package rworldmap, version 1.3-1. License: GPL (>= 2)