Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Martijn Tennekes
Title: tmap: Thematic Maps in R
Abstract: Thematic maps show spatial distributions. The theme refers to the phenomena that is shown, which is often demographical, social, cultural, or economic. The best known thematic map type is the choropleth, in which regions are colored according to the distribution of a data variable. The R package tmap offers a coherent plotting system for thematic maps that is based on the layered grammar of graphics. Thematic maps are created by stacking layers, where per layer, data can be mapped to one or more aesthetics. It is also possible to generate small multiples. Thematic maps can be further embellished by configuring the map layout and by adding map attributes, such as a scale bar and a compass. Besides plotting thematic maps on the graphics device, they can also be made interactive as an HTML widget. In addition, the R package tmaptools contains several convenient functions for reading and processing spatial data.

Page views:: 16441. Submitted: 2016-03-18. Published: 2018-04-20.
Paper: tmap: Thematic Maps in R     Download PDF (Downloads: 13583)
tmap_1.11-2.tar.gz: R source package Download (Downloads: 405; 3MB)
tmaptools_1.2-4.tar.gz: R source package Download (Downloads: 289; 79KB)
v84i06.R: R replication code Download (Downloads: 579; 12KB) Supplementary data Download (Downloads: 506; 3MB)

DOI: 10.18637/jss.v084.i06

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.