Compute the Rectangular Statistical Cartogram
Overview
Implements the RecMap MP2 construction heuristic doi:10.1109/INFVIS.2004.57. This algorithm draws maps according to a given statistical value, e.g., election results, population, or epidemiological data. The basic idea of the RecMap algorithm is that each map region, e.g., different countries, is represented by a rectangle. The area of each rectangle represents the statistical value provided as input to maintain zero cartographic error. Computationally intensive tasks are implemented in C++. The included vignette documents recmap algorithm usage.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 13
- Examples that run
- 90%9 run in a plain check · 1 never run
- Exported functions with examples
- 82%
- Documented parameters
- 95%
- Return-value docs
- 73%
- Help pages citing references
- 69%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 155
Forks over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/cpanse/recmap on 2026-10-25.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-04-02
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.20Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.17
- 1.0.162023-09-16 · diff ↗
- 1.0.152023-04-30 · diff ↗
- 1.0.142023-04-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.112021-09-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.92021-05-10 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.72020-02-20 · diff ↗
- 1.0.52019-06-03 · diff ↗
Show 20 earlier eventsHide 20 earlier events
- RR 3.6.0 released · 2019-04-26
- 1.0.12019-03-07 · diff ↗
- 1.0.02018-09-16 · diff ↗
- 0.5.372018-08-28 · diff ↗
- 0.5.332018-05-01 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.5.312018-03-24 · diff ↗
- 0.5.262018-02-26 · diff ↗
- 0.5.242017-09-18 · diff ↗ ·
removed 2 exports
recmap2sp, sp2recmapadded 3 exports
is.recmap, as.SpatialPolygonsDataFrame, as.recmap - RR 3.4.0 released · 2017-04-21
- 0.5.202017-04-10 · diff ↗
- 0.5.16
- 0.5.4
- 0.5.32016-07-13 · diff ↗ ·
removed 1 export
plot_recmapadded 4 exports
recmapGA, recmap2sp, checkerboard, plot.recmap - 0.5.02016-07-01 · diff ↗
- 0.4.02016-06-12 · diff ↗
- 0.3.02016-05-31 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.2.12016-05-02
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-05-02
- Total releases
- 24 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.5
- Bundled data
- 660 KB / 1 file
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("recmap")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.