{
  "_id": "6a1023e6acfb0bcc41c8d945",
  "Package": "pkmapr",
  "Title": "Pakistan Spatial Data Toolkit",
  "Version": "1.2.1",
  "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). Downloads and\ncaches spatial data at country, province, district, and tehsil\nlevels as 'sf' objects compatible with the 'tidyverse' and\ngeospatial 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",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://abdullahumer1101.github.io/pkmapr/,\nhttps://github.com/abdullahumer1101/pkmapr/",
  "BugReports": "https://github.com/abdullahumer1101/pkmapr/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 12:20:49 UTC",
    "User": "root"
  },
  "Author": "Abdullah Umer [aut, cre] (ORCID:\n<https://orcid.org/0009-0008-4082-8394>)",
  "Maintainer": "Abdullah Umer <abdullahumer1101@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-13 10:47:58 UTC",
  "RemoteUrl": "https://github.com/cran/pkmapr",
  "RemoteRef": "HEAD",
  "RemoteSha": "9fd096c177f2d246073f0c24151e66e779bd6e06",
  "MD5sum": "69eb09ff3a3b2a49c7b90524ed98f8a8",
  "_user": "cran",
  "_type": "src",
  "_file": "pkmapr_1.2.1.tar.gz",
  "_fileid": "f2fe3f388161cca126f64112e236ad7cdc982b0528402d898e9cd40fd04e24a5",
  "_filesize": 850894,
  "_sha256": "f2fe3f388161cca126f64112e236ad7cdc982b0528402d898e9cd40fd04e24a5",
  "_created": "2026-05-13T12:20:49.000Z",
  "_published": "2026-05-22T09:37:42.887Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77354044200,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6969920334"
    },
    {
      "job": 77354044271,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6969916527"
    },
    {
      "job": 77354043661,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6969860760"
    },
    {
      "job": 77354043642,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157432688"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25798118911",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/pkmapr",
  "_commit": {
    "id": "9fd096c177f2d246073f0c24151e66e779bd6e06",
    "author": "Abdullah Umer <abdullahumer1101@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.1\n",
    "time": 1778669278
  },
  "_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"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.1",
      "date": "2026-05-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "abdullahumer1101",
      "count": 1,
      "uuid": 217897401
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pkmapr"
  },
  "_devurl": "https://github.com/abdullahumer1101/pkmapr",
  "_pkgdown": "https://abdullahumer1101.github.io/pkmapr/",
  "_searchresults": 13,
  "_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"
  ],
  "_cranurl": false,
  "_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. Returns a ggplot object that can be extended with standard ggplot2 layers.",
      "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/cran/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": [
        "The problem: Non-contiguous units",
        "Build spatial weights",
        "Global Moran's I (synthetic data)",
        "Local Indicators of Spatial Association (LISA)",
        "Hotspot detection (Getis-Ord Gi*)",
        "Disputed boundary handling",
        "Complete workflow example",
        "References"
      ],
      "created": "2026-05-13 10:47:58",
      "modified": "2026-05-13 10:47:58",
      "commits": 1
    },
    {
      "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-05-13 10:47:58",
      "modified": "2026-05-13 10:47:58",
      "commits": 1
    },
    {
      "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",
        "Choose the right CRS"
      ],
      "created": "2026-05-13 10:47:58",
      "modified": "2026-05-13 10:47:58",
      "commits": 1
    }
  ],
  "_score": 3.290034611362518,
  "_indexed": true,
  "_nocasepkg": "pkmapr",
  "_universes": [
    "cran",
    "abdullahumer1101"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-13T12:23:36.000Z",
      "distro": "noble",
      "commit": "9fd096c177f2d246073f0c24151e66e779bd6e06",
      "fileid": "81d6eef013853dc8082f6932fc51cf8aa6ace6c0b5e54a9591a48deea4602384",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25798118911"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-13T12:23:25.000Z",
      "distro": "noble",
      "commit": "9fd096c177f2d246073f0c24151e66e779bd6e06",
      "fileid": "490a59182d43b8fb888540689b6fd7b2346ecb68332243fc1be9b571094ab875",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25798118911"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-05-22T09:37:19.000Z",
      "commit": "9fd096c177f2d246073f0c24151e66e779bd6e06",
      "fileid": "8070bb4f2373d29d642ec1a7ac3ac79447e86cbd047510762bf7bca9b3ee1e68",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25798118911"
    }
  ]
}