Package: pkmapr 1.4.0

pkmapr: 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.

Authors:Abdullah Umer [aut, cre]

pkmapr_1.4.0.tar.gz
pkmapr_1.4.0.zip(r-4.7)pkmapr_1.4.0.zip(r-4.6)pkmapr_1.4.0.zip(r-4.5)
pkmapr_1.4.0.tgz(r-4.6-any)pkmapr_1.4.0.tgz(r-4.5-any)
pkmapr_1.4.0.tar.gz(r-4.7-any)pkmapr_1.4.0.tar.gz(r-4.6-any)
pkmapr_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
pkmapr/json (API)

# Install 'pkmapr' in R:
install.packages('pkmapr', repos = c('https://abdullahumer1101.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/abdullahumer1101/pkmapr/issues

Pkgdown/docs site:https://abdullahumer1101.github.io

On CRAN:

Conda:

5.31 score 1 stars 27 scripts 430 downloads 38 exports 67 dependencies

Last updated from:f933f401d8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK200
source / vignettesOK180
linux-release-x86_64OK161
macos-release-arm64OK136
macos-oldrel-arm64OK143
windows-develOK146
windows-releaseOK116
windows-oldrelOK119
wasm-releaseOK192

Exports:get_countryget_districtsget_provincesget_tehsilspak_areapak_basemappak_bboxpak_bufferpak_centroidpak_crs_suggestpak_dictionarypak_distancepak_intersectpak_joinpak_mappak_map_interactivepak_neighborspak_points_inpak_projectpak_unionpk_areapk_basemappk_bboxpk_bufferpk_centroidpk_crs_suggestpk_dictionarypk_distancepk_intersectpk_joinpk_mappk_map_interactivepk_neighborspk_points_inpk_projectpk_searchpk_unionpk_version

Dependencies:base64encbootbslibcachemclassclassIntclicrosstalkDBIdeldirdigestdplyre1071evaluatefarverfastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclemagrittrMASSmemoisemimepillarpkgconfigpngproxyR6rappdirsrasterRColorBrewerRcpprlangrmarkdowns2sassscalessfspspDataspdepterratibbletidyselecttinytexunitsutf8vctrsviridisLitewithrwkxfunyaml

Epidemiology with pkmapr
Build spatial weights | Disputed unit handling | Global Moran's I (synthetic data) | Local Indicators of Spatial Association (LISA) | Hotspot detection (Getis-Ord Gi*) | Sensitivity analysis: disputed units | Complete workflow | References

Last update: 2026-05-13
Started: 2026-04-25

Introduction to pkmapr
Installation | Your first map | Look up names before joining | Join your own data | Interactive maps | Next steps

Last update: 2026-05-13
Started: 2026-04-25

Spatial Analysis with pkmapr
Centroids | Buffers | Distance calculations | Point-in-polygon | Dissolve boundaries | Coordinate reference systems

Last update: 2026-05-13
Started: 2026-04-25