Beecham, R. orcid.org/0000-0001-8563-7251, Tennekes, M. and Wood, J. (2025) gridmappr: An R package for creating small multiple gridmap layouts. Environment and Planning B: Urban Analytics and City Science. ISSN: 2399-8083
Abstract
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.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © The Author(s) 2025. This article is distributed under the terms of the Creative Commons Attribution 4.0 License (https://creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without further permission provided the original work is attributed as specified on the SAGE and Open Access page (https://us.sagepub.com/en-us/nam/open-access-at-sage). |
Keywords: | geovisualisation, gridmaps, cartograms, origin-destination, grammar of graphics |
Dates: |
|
Institution: | The University of Leeds |
Academic Units: | The University of Leeds > Faculty of Environment (Leeds) > School of Geography (Leeds) |
Funding Information: | Funder Grant number EPSRC (Engineering and Physical Sciences Research Council) EP/Z531273/1 |
Depositing User: | Symplectic Publications |
Date Deposited: | 16 Sep 2025 09:03 |
Last Modified: | 16 Sep 2025 09:03 |
Published Version: | https://journals.sagepub.com/doi/10.1177/239980832... |
Status: | Published online |
Publisher: | SAGE Publications |
Identification Number: | 10.1177/23998083251374737 |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:231515 |
Download
Filename: beecham-et-al-2025-gridmappr-an-r-package-for-creating-small-multiple-gridmap-layouts.pdf
Licence: CC-BY 4.0