Extension to 'tmap' for Creating Cartograms
Overview
Provides new layer functions to 'tmap' for creating various types of cartograms. A cartogram is a type of thematic map in which geographic areas are resized or distorted based on a quantitative variable, such as population. The goal is to make the area sizes proportional to the selected variable while preserving geographic positions as much as possible.
- internals updated to tmap 4.3
From NEWS in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 3 (2 internal)
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- 15%
- Return-value docs
- 67%
- Help pages citing references
- 33%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 40
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/r-tmap/tmap.cartogram on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-05-06 · The repository has a site deploy workflow
pkgdown site last built 2026-05-06, before release 0.2-1 (2026-05-09)
Dependencies
Installing tmap.cartogram adds 83 packages (46 with compiled code, 82 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, bslib 5.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2-1Latest2026-05-09 · current release · diff ↗ ·
added 6 exports
tmapMapboxDataPlot.tm_data_cartogram, tmapMapboxDataPlot.tm_data_cartogram_dorling, tmapMapboxDataPlot.tm_data_cartogram_ncont, tmapMaplibreDataPlot.tm_data_cartogram, tmapMaplibreDataPlot.tm_data_cartogram_dorling, tmapMaplibreDataPlot.tm_data_cartogram_ncont - RR 4.6.0 released · 2026-04-24
- 0.22025-05-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.12025-02-03
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-02-03
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 54 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tmap.cartogram")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.