{
  "_id": "6a1f0a89b401979e7341c579",
  "Package": "pkmapr",
  "Title": "Pakistan Spatial Data Toolkit",
  "Version": "1.4.0",
  "Authors@R": "person(\"Abdullah Umer\", email = \"abdullahumer1101@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0008-4082-8394\"))",
  "Description": "Provides a tidy interface to Pakistan's official\nadministrative boundary data from the United Nations Office for\nthe Coordination of Humanitarian Affairs (OCHA). Spatial data\nat country, province, district, and tehsil levels are embedded\nin the package as 'sf' objects compatible with the 'tidyverse'\nand geospatial ecosystem. Includes utilities for geographic\ndictionary lookup, coordinate reference system selection,\nspatial measurement, and neighbour structure construction for\nuse with 'spdep', 'ggplot2', 'leaflet', and related packages.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://cran.r-project.org/package=pkmapr,\nhttps://abdullahumer1101.github.io/pkmapr/,\nhttps://github.com/abdullahumer1101/pkmapr/",
  "BugReports": "https://github.com/abdullahumer1101/pkmapr/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://abdullahumer1101.r-universe.dev",
  "Date/Publication": "2026-05-17 22:15:26 UTC",
  "RemoteUrl": "https://github.com/abdullahumer1101/pkmapr",
  "RemoteRef": "HEAD",
  "RemoteSha": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 22:52:14 UTC",
    "User": "root"
  },
  "Author": "Abdullah Umer [aut, cre] (ORCID:\n<https://orcid.org/0009-0008-4082-8394>)",
  "Maintainer": "Abdullah Umer <abdullahumer1101@gmail.com>",
  "MD5sum": "c26551ad0cf36a957394fd374fd648a8",
  "_user": "abdullahumer1101",
  "_type": "src",
  "_file": "pkmapr_1.4.0.tar.gz",
  "_fileid": "c28ade8608ccbc70d7717fcdcdf9d2c606b46813cc706b03a40e6ac3b0b82aea",
  "_filesize": 854917,
  "_sha256": "c28ade8608ccbc70d7717fcdcdf9d2c606b46813cc706b03a40e6ac3b0b82aea",
  "_created": "2026-05-17T22:52:14.000Z",
  "_published": "2026-06-02T16:53:29.159Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79125257314,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7046803655"
    },
    {
      "job": 79125257599,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7046802258"
    },
    {
      "job": 79125257548,
      "time": 79,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7046793046"
    },
    {
      "job": 79125257487,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7046794212"
    },
    {
      "job": 79125257037,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7046784256"
    },
    {
      "job": 79125256905,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364322513"
    },
    {
      "job": 79125257559,
      "time": 124,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7046797684"
    },
    {
      "job": 79125257499,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7046796815"
    },
    {
      "job": 79125257469,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7046794402"
    }
  ],
  "_buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/abdullahumer1101/pkmapr",
  "_commit": {
    "id": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
    "author": "Abdullah Umer <abdullahumer1101@gmail.com>",
    "committer": "Abdullah Umer <abdullahumer1101@gmail.com>",
    "message": "modified cran-comments.md\n",
    "time": 1779056126
  },
  "_maintainer": {
    "name": "Abdullah Umer",
    "email": "abdullahumer1101@gmail.com",
    "login": "abdullahumer1101",
    "uuid": 217897401
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "leaflet",
      "role": "Suggests"
    },
    {
      "package": "rmapshaper",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tmap",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "PakPC2023",
      "role": "Suggests"
    }
  ],
  "_owner": "abdullahumer1101",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 21
    },
    {
      "week": "2026-18",
      "n": 36
    },
    {
      "week": "2026-19",
      "n": 17
    },
    {
      "week": "2026-20",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "dummy-release",
      "date": "2026-04-25"
    },
    {
      "name": "v0.1.0",
      "date": "2026-04-25"
    },
    {
      "name": "v0.1.1",
      "date": "2026-04-25"
    },
    {
      "name": "v0.2.0",
      "date": "2026-04-28"
    },
    {
      "name": "v0.2.1",
      "date": "2026-04-28"
    },
    {
      "name": "v0.3.0",
      "date": "2026-04-29"
    },
    {
      "name": "v1.0.0",
      "date": "2026-05-02"
    },
    {
      "name": "v1.1.0",
      "date": "2026-05-03"
    },
    {
      "name": "v1.2.0",
      "date": "2026-05-04"
    },
    {
      "name": "v1.2.1",
      "date": "2026-05-07"
    },
    {
      "name": "v1.3.0",
      "date": "2026-05-13"
    },
    {
      "name": "v1.4.0",
      "date": "2026-05-16"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "abdullahumer1101",
      "count": 78,
      "uuid": 217897401
    }
  ],
  "_userbio": {
    "uuid": 217897401,
    "type": "user",
    "name": "Abdullah Umer",
    "description": "Open sourcerer. "
  },
  "_downloads": {
    "count": 93,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pkmapr"
  },
  "_devurl": "https://github.com/abdullahumer1101/pkmapr",
  "_pkgdown": "https://abdullahumer1101.github.io/pkmapr/",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pkmapr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/abdullahumer1101/pkmapr",
  "_realowner": "abdullahumer1101",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.1",
      "date": "2026-05-13"
    }
  ],
  "_exports": [
    "get_country",
    "get_districts",
    "get_provinces",
    "get_tehsils",
    "pak_area",
    "pak_basemap",
    "pak_bbox",
    "pak_buffer",
    "pak_centroid",
    "pak_crs_suggest",
    "pak_dictionary",
    "pak_distance",
    "pak_intersect",
    "pak_join",
    "pak_map",
    "pak_map_interactive",
    "pak_neighbors",
    "pak_points_in",
    "pak_project",
    "pak_union",
    "pk_area",
    "pk_basemap",
    "pk_bbox",
    "pk_buffer",
    "pk_centroid",
    "pk_crs_suggest",
    "pk_dictionary",
    "pk_distance",
    "pk_intersect",
    "pk_join",
    "pk_map",
    "pk_map_interactive",
    "pk_neighbors",
    "pk_points_in",
    "pk_project",
    "pk_search",
    "pk_union",
    "pk_version"
  ],
  "_help": [
    {
      "page": "get_country",
      "title": "Get national boundary for Pakistan.",
      "topics": [
        "get_country"
      ]
    },
    {
      "page": "get_districts",
      "title": "Get Pakistan district boundaries",
      "topics": [
        "get_districts"
      ]
    },
    {
      "page": "get_provinces",
      "title": "Get Pakistan province boundaries",
      "topics": [
        "get_provinces"
      ]
    },
    {
      "page": "get_tehsils",
      "title": "Get Pakistan tehsil boundaries",
      "topics": [
        "get_tehsils"
      ]
    },
    {
      "page": "pk_area",
      "title": "Recalculate area in km² for an sf object",
      "topics": [
        "pk_area"
      ]
    },
    {
      "page": "pk_basemap",
      "title": "Leaflet basemap centred on Pakistan",
      "topics": [
        "pk_basemap"
      ]
    },
    {
      "page": "pk_bbox",
      "title": "Get a bounding box for a named administrative unit",
      "topics": [
        "pk_bbox"
      ]
    },
    {
      "page": "pk_buffer",
      "title": "Create buffers around sf geometries in km",
      "topics": [
        "pk_buffer"
      ]
    },
    {
      "page": "pk_centroid",
      "title": "Extract centroids from an sf object",
      "topics": [
        "pk_centroid"
      ]
    },
    {
      "page": "pk_crs_suggest",
      "title": "Suggest an appropriate projected CRS for a Pakistan sf object",
      "topics": [
        "pk_crs_suggest"
      ]
    },
    {
      "page": "pk_dictionary",
      "title": "Pakistan Administrative Boundaries Dictionary",
      "topics": [
        "pk_dictionary"
      ]
    },
    {
      "page": "pk_distance",
      "title": "Compute distances between two sf objects in km",
      "topics": [
        "pk_distance"
      ]
    },
    {
      "page": "pk_intersect",
      "title": "Intersect two sf objects",
      "topics": [
        "pk_intersect"
      ]
    },
    {
      "page": "pk_join",
      "title": "Join data to a pkmapr sf object with match checking",
      "topics": [
        "pk_join"
      ]
    },
    {
      "page": "pk_map",
      "title": "Produces a ggplot2 map for rapid exploratory visualisation.",
      "topics": [
        "pk_map"
      ]
    },
    {
      "page": "pk_map_interactive",
      "title": "Interactive choropleth map of a pkmapr sf object",
      "topics": [
        "pk_map_interactive"
      ]
    },
    {
      "page": "pk_neighbors",
      "title": "Construct a spatial neighbours list for Pakistan administrative units",
      "topics": [
        "pk_neighbors"
      ]
    },
    {
      "page": "pk_points_in",
      "title": "Assign points to administrative units (point-in-polygon)",
      "topics": [
        "pk_points_in"
      ]
    },
    {
      "page": "pk_project",
      "title": "Project an sf object to a Pakistan-appropriate CRS",
      "topics": [
        "pk_project"
      ]
    },
    {
      "page": "pk_search",
      "title": "Search Across All Administrative Levels",
      "topics": [
        "pk_search"
      ]
    },
    {
      "page": "pk_union",
      "title": "Dissolve sf polygons by a grouping column",
      "topics": [
        "pk_union"
      ]
    },
    {
      "page": "pk_version",
      "title": "Check package version and update status",
      "topics": [
        "pk_version"
      ]
    }
  ],
  "_readme": "https://github.com/abdullahumer1101/pkmapr/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "jsonlite",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sp",
    "spData",
    "spdep",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "epidemiology-pkmapr.Rmd",
      "filename": "epidemiology-pkmapr.html",
      "title": "Epidemiology with pkmapr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2026-04-25 12:13:53",
      "modified": "2026-05-13 19:55:07",
      "commits": 6
    },
    {
      "source": "intro-to-pkmapr.Rmd",
      "filename": "intro-to-pkmapr.html",
      "title": "Introduction to pkmapr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Your first map",
        "Look up names before joining",
        "Join your own data",
        "Interactive maps",
        "Next steps"
      ],
      "created": "2026-04-25 12:13:53",
      "modified": "2026-05-13 19:55:07",
      "commits": 6
    },
    {
      "source": "spatial-analysis-pkmapr.Rmd",
      "filename": "spatial-analysis-pkmapr.html",
      "title": "Spatial Analysis with pkmapr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Centroids",
        "Buffers",
        "Distance calculations",
        "Point-in-polygon",
        "Dissolve boundaries",
        "Coordinate reference systems"
      ],
      "created": "2026-04-25 12:13:53",
      "modified": "2026-05-13 19:55:07",
      "commits": 8
    }
  ],
  "_score": 4.982271233039569,
  "_indexed": true,
  "_nocasepkg": "pkmapr",
  "_universes": [
    "abdullahumer1101"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-17T22:55:00.000Z",
      "distro": "noble",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "14349a0b0c5e1482408cf9e66a7fc9022a76ab17348456064c527e57464970bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-17T22:54:49.000Z",
      "distro": "noble",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "82d95172fd722de56a99eacd26ed0025f941566f3012d0d53d499802767af322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-17T22:53:32.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "8290c7ea898bab35adcff9f881225483e79ad8e603d2fff4b5e2f27e268bc1db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-17T22:53:43.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "8867b0391cc2b9878fa0b8b2d843f63abaa5c6c034b1b70171b678aafbcfb63f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-17T22:54:00.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "a43c64390e9aec88c9719ab64b645e6a4d2f6723f089bcee66a625253e356028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-17T22:53:52.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "bb259ad690e76260d4dd05456a74708871b9c517e50dffcaeacf6479641b55c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-17T22:53:31.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "00c3df6640f0760c5860f6615909451e42835d782a3909fb5a657878ecd5a091",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-02T16:53:11.000Z",
      "commit": "bf8ca2cae2c860ef22f0a492da6756f0e0c94c3c",
      "fileid": "1b8e4cb5e3c5547634e8275ea94e7cb89cd6d27ffefcdad3d56bc78448a348de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/abdullahumer1101/actions/runs/26004995490"
    }
  ]
}