Draw Flows (Migration, Goods, Money, Information) on 'ggplot2' Plots
Overview
Adds flow maps to 'ggplot2' plots. The flow maps consist of 'ggplot2' layers which visualize the nodes as circles and the bilateral flows between the nodes as bidirectional half-arrows.
- Added a new function sf_flowmap which functions much like add_flowmap() but outputs the flows as spatial (sf) objects, allowing them to be easily exported and used in other visualisation tools (e.g., GIS).
- Added an experimental function add_flowmap_list() which allows for the creation of multiple, matching plots.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 80%4 run in a plain check · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/johmast/flowmapper on 2026-10-11.
Dependencies
Installing flowmapper adds 41 packages (25 with compiled code, 45 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2024-08-30
- Total releases
- 4 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 838 KB / 2 files
- Download size
- 892 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("flowmapper")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.