Provides a tidy interface to Pakistan's official administrative boundary data from the United Nations Office for the Coordination of Humanitarian Affairs (OCHA). Downloads and caches spatial data at country, province, district, and tehsil levels 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.
| Version: | 1.2.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | sf, dplyr, rlang, cli, spdep, jsonlite |
| Suggests: | ggplot2, leaflet, rmapshaper, httptest2, testthat (≥ 3.0.0), tmap, knitr, readr, rmarkdown, spelling |
| Published: | 2026-05-13 |
| DOI: | 10.32614/CRAN.package.pkmapr (may not be active yet) |
| Author: | Abdullah Umer |
| Maintainer: | Abdullah Umer <abdullahumer1101 at gmail.com> |
| BugReports: | https://github.com/abdullahumer1101/pkmapr/issues |
| License: | GPL-3 |
| URL: | https://abdullahumer1101.github.io/pkmapr/, https://github.com/abdullahumer1101/pkmapr/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | pkmapr results |
| Reference manual: | pkmapr.html , pkmapr.pdf |
| Vignettes: |
Epidemiological Analysis with pkmapr (source, R code) intro-to-pkmapr (source, R code) Spatial Analysis with pkmapr (source, R code) |
| Package source: | pkmapr_1.2.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): pkmapr_1.2.1.tgz, r-oldrel (arm64): pkmapr_1.2.1.tgz, r-release (x86_64): pkmapr_1.2.1.tgz, r-oldrel (x86_64): pkmapr_1.2.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=pkmapr to link to this page.