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.5)rworldmap_1.3-8.zip(r-4.4)rworldmap_1.3-8.zip(r-4.3)
rworldmap_1.3-8.tgz(r-4.4-any)rworldmap_1.3-8.tgz(r-4.3-any)
rworldmap_1.3-8.tar.gz(r-4.5-noble)rworldmap_1.3-8.tar.gz(r-4.4-noble)
rworldmap_1.3-8.tgz(r-4.4-emscripten)rworldmap_1.3-8.tgz(r-4.3-emscripten)
rworldmap.pdf |rworldmap.html
rworldmap/json (API)

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

Peer review:

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:

10.31 score 29 stars 10 packages 2.8k scripts 4.2k downloads 27 exports 10 dependencies

Last updated 1 years agofrom:1d59e86b7c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:addMapLegendaddMapLegendBoxesaggregateHalfDegreeGridToCountriesbarplotCountryDatacountry2RegiongetMapidentifyCountriesisoToNamejoinCountryData2MapjoinData2MaplabelCountriesmapBarsmapBubblesmapByRegionmapCountryDatamapDevicemapGriddedDatamapHalfDegreeGridToCountriesmapPiesmapPolysrwmCheckAndLoadInputrwmGetClassBreaksrwmGetColoursrwmGetISO3rwmNewMapPlotrworldmapExamplessetMapExtents

Dependencies:dotCall64fieldslatticemapsrasterRcppspspamterraviridisLite

rworldmap FAQ

Rendered fromrworldmapFAQ.Rnwusingutils::Sweaveon Oct 29 2024.

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

rworldmap vignette : examples to get started

Rendered fromrworldmap.rnwusingutils::Sweaveon Oct 29 2024.

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