{
  "_id": "6af07844ef600c02c40692d6",
  "Package": "spatialcluster",
  "Title": "Spatially Contiguous Clustering with the 'Redcap' Algorithm",
  "Version": "0.2.1.009",
  "Authors@R": "c(person(\"Mark\", \"Padgham\", email = \"mark.padgham@email.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2172-5265\")),\nperson(\"Michael\", \"Sumner\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0002-2471-7511\")))",
  "Description": "Groups spatial data into clusters of similar observations,\nwhile requiring that each cluster forms a single spatially\ncontiguous region. Contiguity is enforced by first building a\nspanning tree from the spatial relationships between points,\nand then cutting that tree into clusters according to a matrix\nof distances or other measures of similarity. Trees may be\nbuilt from first-order relationships only (direct neighbours),\nyielding a minimum spanning tree, or from full-order\nrelationships between entire clusters, using single linkage\n(nearest members), average linkage (mean of all pairs), or\ncomplete linkage (furthest members). The single and average\nlinkage methods implement the 'Redcap' algorithm\n('Regionalization' with dynamically constrained agglomerative\nclustering and partitioning). Results can be visualised as maps\nof clusters, cluster hulls, or trees.",
  "License": "GPL-3",
  "URL": "https://UrbanAnalyst.github.io/spatialcluster/,\nhttps://github.com/UrbanAnalyst/spatialcluster",
  "BugReports": "https://github.com/UrbanAnalyst/spatialcluster/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://mpadge.r-universe.dev",
  "Date/Publication": "2026-11-06 10:08:17 UTC",
  "RemoteUrl": "https://github.com/mpadge/spatialcluster",
  "RemoteRef": "HEAD",
  "RemoteSha": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
  "Packaged": {
    "Date": "2026-11-08 13:17:40 UTC",
    "User": "root"
  },
  "Author": "Mark Padgham [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2172-5265>),\nMichael Sumner [ctb] (ORCID: <https://orcid.org/0000-0002-2471-7511>)",
  "Maintainer": "Mark Padgham <mark.padgham@email.com>",
  "_user": "mpadge",
  "_type": "src",
  "_file": "spatialcluster_0.2.1.009.tar.gz",
  "_fileid": "https://r2.ropensci.org/2cdf0fb2d937a041e6cd03a42158a2c8a8cd0f382fd2a97995e34701727c1750",
  "_filesize": 781500,
  "_sha256": "2cdf0fb2d937a041e6cd03a42158a2c8a8cd0f382fd2a97995e34701727c1750",
  "_expires": "2027-02-16T13:25:22.000Z",
  "_created": "2026-11-08T13:17:40.000Z",
  "_published": "2026-11-08T13:25:23.972Z",
  "_upstream": "https://github.com/mpadge/spatialcluster",
  "_status": "success",
  "_maintainer": {
    "name": "Mark Padgham",
    "email": "mark.padgham@email.com",
    "login": "mpadge",
    "mastodon": "@mpadge@nerdculture.de",
    "description": "Developer of UrbanAnalyst.city. I care about open-source code, open urban planning, cycling, running, and walking.",
    "uuid": 6697851,
    "orcid": "0000-0003-2172-5265"
  },
  "_jobs": [
    {
      "job": 128742781630,
      "time": 150,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618542291"
    },
    {
      "job": 128742781651,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618568252"
    },
    {
      "job": 128742781655,
      "time": 145,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618676970"
    },
    {
      "job": 128742781711,
      "time": 216,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13619027212"
    },
    {
      "job": 128742781710,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13618718017"
    },
    {
      "job": 128742781638,
      "time": 329,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13618469213"
    },
    {
      "job": 128742781685,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618806977"
    },
    {
      "job": 128742781688,
      "time": 363,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13619266264"
    },
    {
      "job": 128741778464,
      "time": 246,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618039441"
    },
    {
      "job": 128742781613,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13618927468"
    },
    {
      "job": 128742781671,
      "time": 234,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618364447"
    },
    {
      "job": 128742781610,
      "time": 174,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618124389"
    },
    {
      "job": 128742781805,
      "time": 157,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13618542301"
    },
    {
      "job": 128742781663,
      "time": 246,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618952642"
    },
    {
      "job": 128742781641,
      "time": 153,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618354198"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657",
  "_commit": {
    "id": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
    "author": "mpadge <mark.padgham@email.com>",
    "committer": "mpadge <mark.padgham@email.com>",
    "message": "update spaceout location in pre-commit-config\n",
    "time": 1793959697
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "alphahull",
      "role": "Imports"
    },
    {
      "package": "deldir",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.6",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "cdtr",
      "role": "Suggests"
    },
    {
      "package": "dbscan",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mpadge",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 21
    }
  ],
  "_tags": [],
  "_topics": [
    "cluster",
    "clustering-algorithm",
    "spatial",
    "cpp"
  ],
  "_stars": 34,
  "_contributors": [
    {
      "user": "mpadge",
      "count": 409,
      "uuid": 6697851
    },
    {
      "user": "mdsumner",
      "count": 3,
      "uuid": 4107631
    }
  ],
  "_userbio": {
    "uuid": 6697851,
    "type": "user",
    "name": "mark padgham",
    "followers": 329,
    "description": "Developer of UrbanAnalyst.city. I care about open-source code, open urban planning, cycling, running, and walking."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialcluster"
  },
  "_devurl": "https://github.com/urbananalyst/spatialcluster",
  "_pkgdown": "https://UrbanAnalyst.github.io/spatialcluster/",
  "_searchresults": 1,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spatialcluster.html"
  ],
  "_cranurl": false,
  "_exports": [
    "plot_merges",
    "scl_full",
    "scl_recluster",
    "scl_redcap"
  ],
  "_help": [
    {
      "page": "plot_merges",
      "title": "plot_merges",
      "concept": [
        "plot_fns"
      ],
      "topics": [
        "plot_merges"
      ]
    },
    {
      "page": "plot.scl",
      "title": "plot.scl",
      "concept": [
        "plot_fns"
      ],
      "topics": [
        "plot.scl"
      ]
    },
    {
      "page": "scl_full",
      "title": "scl_full",
      "concept": [
        "clustering_fns"
      ],
      "topics": [
        "scl_full"
      ]
    },
    {
      "page": "scl_recluster",
      "title": "scl_recluster",
      "concept": [
        "clustering_fns"
      ],
      "topics": [
        "scl_recluster"
      ]
    },
    {
      "page": "scl_redcap",
      "title": "scl_redcap",
      "concept": [
        "clustering_fns"
      ],
      "topics": [
        "scl_redcap"
      ]
    },
    {
      "page": "spatialcluster",
      "title": "Spatially Contiguous Clustering with the 'Redcap' Algorithm",
      "concept": [
        "package"
      ],
      "topics": [
        "spatialcluster-package",
        "spatialcluster"
      ]
    }
  ],
  "_readme": "https://github.com/mpadge/spatialcluster/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "alphahull",
    "cli",
    "cpp11",
    "deldir",
    "dplyr",
    "farver",
    "generics",
    "geometry",
    "ggplot2",
    "ggthemes",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "linprog",
    "lpSolve",
    "magic",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "polyclip",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "rlang",
    "S7",
    "scales",
    "sgeostat",
    "sp",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "splancs",
    "tensor",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "spatialcluster.Rmd",
      "filename": "spatialcluster.html",
      "title": "spatialcluster",
      "author": "Mark Padgham",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Nomenclature",
        "Spatial clustering versus spatially-constrained clustering",
        "Spatial clustering",
        "Spatially-constrained clustering",
        "Algorithms for spatially-constrained clustering",
        "The SKATER algorithm",
        "The REDCAP algorithms",
        "The \"full\" clustering algorithm",
        "Using the package",
        "Distance-based versus covariance-based clustering",
        "Observation and reference matrices for covariance clustering",
        "Observation and reference matrices for correlation clustering",
        "Clustering Origin-Destination (OD) matrices",
        "Interpretation of OD clusters",
        "Appendix: Why clusters of significant net in- or out-flow can not be identified",
        "A formal argument",
        "References"
      ],
      "created": "2018-05-01 16:02:54",
      "modified": "2026-11-04 12:33:07",
      "commits": 15
    }
  ],
  "_score": 4.230448921378274,
  "_indexed": true,
  "_nocasepkg": "spatialcluster",
  "_universes": [
    "mpadge",
    "urbananalyst"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:19:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/fc9b2106f70fea0ecacd87a6fe0734150d098bf4b2892f73fd11b1ae9eadc3d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/aa7d80028f79140c3ebc90ca3912a3c84b1a363b0bcc1dc0f242fc8babdd2e13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:19:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/c5c61e2ffbb727c4de1ca83f4bae6549a4ea3f9da340a44de447955de4e28494",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/465ea09285d7f49e2a0b863ef23dcbd7ffae25c0d3890c0dde5c38cdf184399c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:29.000Z",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/db9bdd3f6f993184755c0371776d28573d8830c363037a46f5393c22aae1ce76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:22:02.000Z",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/af72b4c5a5a79dca367cb87fd881e11e5d0b0788558fde0361d874e897f74ed2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:47.000Z",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/add194a5ead5e934ca319a084cda2b0205360aedfde7623350be92f3dd927c2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:22:48.000Z",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/5d115afc75294e976e3438352b6292b0c826e45723ec6f2599f1066391808dbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:28.000Z",
      "arch": "emscripten",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/25b22f616b23fae89379b76c49826b7ff254870b47f8c89a9e7dda93be11100c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:20:54.000Z",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/0444f29809600bc9e65053eaa7145a384c187c5cf9b940c6752262985775d7b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:19:16.000Z",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/d0d140fa1cd70cbe13d2ffd32f5b4b1f62a2d5dfa6a4d436af7bf8d7287e8855",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:19:19.000Z",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/b0c0a406c8dea33441822e3796b8f6083377283615f3b745d61a4082007c6fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:21:04.000Z",
      "arch": "aarch64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/ed43d1d0294384ef24868f40b5166bc02d67e3d1006487b801df1994a630d694",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1.009",
      "date": "2026-11-08T13:19:21.000Z",
      "arch": "x86_64",
      "commit": "5e3920df852cc959c95b72e173dab2ab0cd1c1dc",
      "fileid": "https://r2.ropensci.org/1ac9e1d65d597781b6a2de4cdd02739d3aa8f2d43aba6506fa09acd3eedb529f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpadge/actions/runs/42483969657"
    }
  ]
}