Create Maps of Malawi Administrative Boundaries
Overview
Provides a tidy, high-level interface for creating polished maps of Malawi at country, region, district, and Traditional Authority level. Functions handle spatial data retrieval, administrative-name matching, joins from ordinary data frames, numeric and categorical choropleths, labels, highlights, and professional 'ggplot2' styling. Spatial boundary data are provided by the companion package 'mwmapdata'.
- Reworked the package around a tidy, level-aware mapping API.
mw_map()now handles country, region, district, and Traditional Authority maps through one consistent interface.mw_join()now joins by the correct administrative unit for each level and reports unmatched names with suggestions.- Added
mw_get_map()for direct access to filtered boundary data. - Added
mw_tas()for listing Traditional Authorities by region or district. mw_ta_map()now supports numeric and categorical fills joined by TA name.- Improved default map styling, fills, legends, labels, district outlines, and highlight layers.
- Updated the package to depend on
mwmapdata >= 1.0.0.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-13
Documentation
- Help pages
- 23 (2 internal)
- Examples that run
- 30%6 run in a plain check · 14 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 95%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/bitacanalytics/mwmap on 2026-10-18.
Dependencies
Code & Tests
People & History
- 1.0.0Latest2026-05-12 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-12
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5
- Download size
- 29 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mwmap")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.