gridmappr: An R package for creating small multiple gridmap layouts
We present gridmappr , an R package that automates the process of generating gridmaps – small multiple data graphics of regular size, laid out with an approximate geographic arrangement. Given a set of real geographic point locations, gridmappr allocates points to a regularly sized grid of stated row–column dimensions. This allocation is constrained such that the distance between points in real and grid space is minimised and with a parameter that affects how compactly points are allocated to the regular grid. For geographies with features such as large bodies of water, fixed spacers can be introduced – reserved cells that cannot be allocated points. Layout examples are presented using different parameterisations, and code for generating a family of information-rich glyphmap and origin-destination maps is demonstrated using standard ggplot2.
Authors
- Martijn Tennekes (ORCID: https://orcid.org/0000-0002-6506-9522)
- Jo Wood (ORCID: https://orcid.org/0000-0001-9270-247X)
- Roger Beecham (ORCID: https://orcid.org/0000-0001-8563-7251)
Institutions
- University of Leeds (GB)
- Centraal Bureau voor de Statistiek (NL)
- City, University of London (GB)
Publication Details
- Journal
- Environment and Planning B Urban Analytics and City Science
- Published
- 2025-09-09
- DOI
- https://doi.org/10.1177/23998083251374737
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Engineering and Physical Sciences Research Council