Package: rworldmap 1.3-8

rworldmap: Mapping Global Data

Enables mapping of country level and gridded user datasets.

Authors:Andy South [aut, cre]

rworldmap_1.3-8.tar.gz
rworldmap_1.3-8.zip(r-4.7)rworldmap_1.3-8.zip(r-4.6)rworldmap_1.3-8.zip(r-4.5)
rworldmap_1.3-8.tgz(r-4.6-any)rworldmap_1.3-8.tgz(r-4.5-any)
rworldmap_1.3-8.tar.gz(r-4.7-any)rworldmap_1.3-8.tar.gz(r-4.6-any)
rworldmap_1.3-8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
rworldmap/json (API)

# Install 'rworldmap' in R:
install.packages('rworldmap', repos = c('https://andysouth.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/andysouth/rworldmap/issues

Datasets:
  • coastsCoarse - A map of world coasts at coarse resolution.
  • countriesCoarse - A coarse resolution world map, a vector map of 244 country boundaries,suitable for global maps
  • countriesCoarseLessIslands - A coarse resolution world map, a vector map of 177 country boundaries, suitable for global maps
  • countriesLow - A low resolution world map, a vector map of 244 country boundaries, suitable for zooming in on regions or large global maps
  • countryExData - Example dataset for country level data
  • countryRegions - Regional Classification Table
  • countrySynonyms - Synonyms of country names for each ISO 3 letter country code to enable conversion.
  • gridCountriesDegreesHalf - A gloabl half degree grid specifying the country at each cell
  • gridCountriesNumeric - A gloabl half degree grid specifying the country at each cell
  • gridExData - Example half degree grid data : population estimates for 2000 from IIASA

On CRAN:

Conda:

12.04 score 28 stars 31 packages 2.7k scripts 7.6k downloads 86 mentions 27 exports 11 dependencies

Last updated from:1d59e86b7c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK240
source / vignettesOK231
linux-release-x86_64OK221
macos-release-arm64OK138
macos-oldrel-arm64OK145
windows-develOK183
windows-releaseOK188
windows-oldrelOK205
wasm-releaseOK121

Exports:addMapLegendaddMapLegendBoxesaggregateHalfDegreeGridToCountriesbarplotCountryDatacountry2RegiongetMapidentifyCountriesisoToNamejoinCountryData2MapjoinData2MaplabelCountriesmapBarsmapBubblesmapByRegionmapCountryDatamapDevicemapGriddedDatamapHalfDegreeGridToCountriesmapPiesmapPolysrwmCheckAndLoadInputrwmGetClassBreaksrwmGetColoursrwmGetISO3rwmNewMapPlotrworldmapExamplessetMapExtents

Dependencies:dotCall64fieldslatticemapsrasterRColorBrewerRcppspspamterraviridisLite

rworldmap FAQ
find out what rworldmap is ? | install rworldmap ? | load the package into R after installation ? | access latest version of rworldmap source code ? | access this FAQ ? | map my own country level data ? | map my own half degree gridded data ? | aggregate half degree gridded data to countries ? | aggregate country level data to global regions ? | alter the appearance of my maps ? | create my own colour palette ? | zoom in on defined regions ? | display selected countries only ? | create map bubble plots ? | add extra text beneath a plot | plot other map projections | combine rworldmap with other packages classInt and RColorBrewer ? | ensure plots fill the panel space available? | create multi-panel plots ? | add lines of latitude and longitude to a map ?

Last update: 2023-08-31
Started: 2012-10-20

rworldmap vignette : examples to get started
Introduction | Mapping your own country level data | Mapping your own half degree gridded data | Aggregating half degree gridded data to a country level | Aggregating country level data to global regions | Map display options common across the plotting methods | Example maps with settings modified | Bubble plots | Combining rworldmap with other packages classInt and RColorBrewer

Last update: 2016-02-01
Started: 2012-10-20

Readme and manuals

Help Manual

Help pageTopics
For mapping global data.rworldmap-package rworldmap
Add a legend to a mapaddMapLegend
Add a legend of coloured boxes to a mapaddMapLegendBoxes
Aggregates global half degree gridded data to countriesaggregateHalfDegreeGridToCountries
Barplot country-level data.barplotCountryData
A map of world coasts at coarse resolution.coastsCoarse
a coarse resolution world map, a vector map of 244 country boundaries,suitable for global mapscountriesCoarse
a coarse resolution world map, a vector map of 177 country boundaries, suitable for global mapscountriesCoarseLessIslands
a low resolution world map, a vector map of 244 country boundaries, suitable for zooming in on regions or large global mapscountriesLow
Produce regional data from country level datacountry2Region
Example dataset for country level data (2008 Environmental Performance Index)countryExData
Regional Classification TablecountryRegions
Synonyms of country names for each ISO 3 letter country code to enable conversion.countrySynonyms
A simple way to access maps stored in the package.getMap
A gloabl half degree grid specifying the country at each cellgridCountriesDegreesHalf
A gloabl half degree grid specifying the country at each cellgridCountriesNumeric
Example half degree grid data : population estimates for 2000 from IIASAgridExData
a function that will print country name and attribute values when a user clicks on the mapidentifyCountries
Returns the country name corresponding to the passed iso code (3 letter, 2 letter or numeric).isoToName
Joins user country referenced data to a mapjoinCountryData2Map
Joins user polygon attribute data to a mapjoinData2Map
to print country labels on a world maplabelCountries
function to produce bar plots on a mapmapBars
function to produce bubble plots on a map, size and colour determined by attribute datamapBubbles
Produce maps of regional level data from country level datamapByRegion
Map country-level data.mapCountryData
Creates a plot device set up for mapsmapDevice
Produce maps of global gridded data at half degree resolutionmapGriddedData
Maps user half degree gridded data at country level by first aggregating.mapHalfDegreeGridToCountries
function to produce pie charts on a mapmapPies
Map polygon data.mapPolys
internal function to check and load input data to mapping functionsrwmCheckAndLoadInput
Internal function to set the numeric values for the breaks between data categoriesrwmGetClassBreaks
to choose map colours for classified datarwmGetColours
Internal function for getting the ISO3 country code for a country name synonymn.rwmGetISO3
Internal function to set up an existing device for plotting mapsrwmNewMapPlot
Example code for plot creationrworldmapExamples
Internal function allowing map extents to be set from area namessetMapExtents