Learn R Programming

⚠️There's a newer version (1.3-8) of this package.Take me there.

rworldmap (version 1.01)

Mapping global data, vector and raster.

Description

Enables mapping of country level and gridded user datasets.

Copy Link

Version

Install

install.packages('rworldmap')

Monthly Downloads

7,963

Version

1.01

License

GPL (>= 2)

Maintainer

Andy South

Last Published

October 3rd, 2012

Functions in rworldmap (1.01)

countriesCoarseLessIslands

a coarse resolution world map, a vector map of 177 country boundaries, suitable for global maps
addMapLegend

Add a legend to a map
mapPolys

Map polygon data.
addMapLegendBoxes

Add a legend of coloured boxes to a map
identifyCountries

a function that will print country name and attribute values when a user clicks on the map
rwmNewMapPlot

Internal function to set up an existing device for plotting maps
countryExData

Example dataset for country level data (2008 Environmental Performance Index)
aggregateHalfDegreeGridToCountries

Aggregates global half degree gridded data to countries
rwmGetClassBreaks

Internal function to set the numeric values for the breaks between data categories
rwmGetColours

Internal function to choose map colours for classified data
countryRegions

Regional Classification Table
countriesCoarse

a coarse resolution world map, a vector map of 244 country boundaries,suitable for global maps
getMap

A simple way to access maps stored in the package.
rworldmap-package

For mapping global data.
gridExData

Example half degree grid data : population estimates for 2000 from IIASA
countriesLow

a low resolution world map, a vector map of 244 country boundaries, suitable for zooming in on regions or large global maps
gridCountriesNumeric

A gloabl half degree grid specifying the country at each cell
mapHalfDegreeGridToCountries

Maps user half degree gridded data at country level by first aggregating.
joinData2Map

Joins user polygon attribute data to a map
mapGriddedData

Produce maps of global gridded data at half degree resolution
joinCountryData2Map

Joins user country referenced data to a map
rwmGetISO3

Internal function for getting the ISO3 country code for a country name synonymn.
mapBubbles

function to produce bubble plots on a map, size and colour determined by attribute data
mapPies

function to produce pie charts on a map
mapBars

function to produce bar plots on a map
rworldmapExamples

Example code for plot creation
coastsCoarse

A map of world coasts at coarse resolution.
mapByRegion

Produce maps of regional level data from country level data
mapCountryData

Map country-level data.
country2Region

Produce regional data from country level data
countrySynonyms

Synonyms of country names for each ISO 3 letter country code to enable conversion.
setMapExtents

Internal function allowing map extents to be set from area names
mapDevice

Creates a plot device set up for maps