Pakistan Spatial Data Toolkit

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: Pakistan Spatial Data Toolkit

CRANstatus Version R-CMD-check Codecov testcoverage License: GPLv3

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.

Installation

Install the released version from CRAN:

install.packages("pkmapr")

Or install the development version from GitHub:

remotes::install_github("abdullahumer1101/pkmapr")

Citation

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

See also

  • For census indicators from the Pakistan Population Census 2023, see PakPC2023.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.