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

tmap: thematic maps in R

<!------>

tmap is an actively maintained open-source R-library for drawing thematic maps, written by Martijn Tennekes. The API is based on A Layered Grammar of Graphics by Hadley Wickham and resembles the syntax of ggplot2, a popular R-library for drawing charts.

Installation

tmap is available on CRAN. The latest version is 1.6-1 (2016-10-29).

The tmap packages relies on the R packages rgdal and rgeos, which depend on the external libraries gdal, proj.4 and geos. On Windows, these are embedded in rgdal and rgeos. On Linux (Ubuntu), these libraries can be installed as follows:

sudo apt-get install libgdal-dev
sudo apt-get install libproj-dev
sudo apt-get install libgeos-dev

See source pages for gdal, proj, and geos. For Mac OS users, see http://www.kyngchaos.com.

Development

Odd numbered versions will be development versions and even numbered versions stable CRAN releases (as with data.table).

The latest development version can be installed using devtools. In the latest development version, non-plotting functions have been migrated to tmaptools.

library(devtools)
install_github("mtennekes/tmaptools")
install_github("mtennekes/tmap", subdir = "pkg")

See NEWS for the latest features and improvements and the issue list for discussions of enhancements and bugs.

Do you want to help with the development of the package? Please let me know! Any feedback, requests, tips, or bug reports are welcome!

Usage

library(tmap)

Vignettes, Demos, and Examples

tmap in a nutshell

tmap modes: plot and interactive view

demo pages

examples

Presentation

tmap: creating thematic maps in a flexible way

Other resources

Copy Link

Version

Down Chevron

Install

install.packages('tmap')

Monthly Downloads

22,105

Version

1.6-1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

October 29th, 2016

Functions in tmap (1.6-1)