Provides a tidy interface to Pakistan's official administrative boundary data from the United Nations Office for the Coordination of Humanitarian Affairs (OCHA). Spatial data at country, province, district, and tehsil levels are embedded in the package as 'sf' objects compatible with the 'tidyverse' and geospatial ecosystem. Includes utilities for geographic dictionary lookup, coordinate reference system selection, spatial measurement, and neighbour structure construction for use with 'spdep', 'ggplot2', 'leaflet', and related packages.
pkmapr (pronounced P-K-Mapper) provides a clean, tidy interface to
Pakistan’s official administrative boundary data from
OCHA/HDX. It includes
geometries at country, province, district, and tehsil level as sf
objects compatible with the tidyverse and geospatial ecosystem, and
includes utilities for geographic dictionary lookup, spatial
measurement, coordinate reference system selection, and neighbour
structure construction for use with spdep, ggplot2, leaflet, and
related packages.
Install the released version from CRAN:
install.packages("pkmapr")
Or install the development version from GitHub:
remotes::install_github("abdullahumer1101/pkmapr")
citation("pkmapr")
Or cite directly.
For the CRAN release:
Umer, A. (2026). pkmapr: Pakistan Spatial Data Toolkit. R package version 1.2.1. https://doi.org/10.32614/CRAN.package.pkmapr
For development releases archived on Zenodo:
Umer, A. (2026). pkmapr: Pakistan Spatial Data Toolkit. Zenodo. https://doi.org/10.5281/zenodo.19769542