{
  "_id": "6a103600acfb0bcc41c99ecd",
  "Package": "spatialRegroup",
  "Title": "Iterative Spatial Regrouping of Administrative Units by\nAttributive Affinity",
  "Version": "0.1.0",
  "Authors@R": "person(\"Nicolas\", \"Ausello\", , \"nicolasausello@yahoo.fr\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3843-0463\"))",
  "Description": "Evaluates the statistical coherence of existing\nadministrative partitions (e.g. inter-municipal groupings,\ndistricts) by identifying spatial units whose attributive\nprofile is more similar to a neighbouring group than to their\nown. Border units are iteratively reassigned to the group they\nare most affine with, based on Euclidean or Mahalanobis\ndistance computed on user-supplied numeric variables, with\noptional per-variable weighting and standardisation. Spatial\ncontiguity is enforced throughout: isolated candidates are\nreintegrated into their original group, disconnected fragments\nare resolved, and empty groups are restored. Convergence is\nmonitored via an eta-squared cohesion criterion. The resulting\npartition can be compared to the original administrative\ndelineation using multilevel models, providing a quantitative\nmeasure of boundary inefficiency.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 07:01:18 UTC",
    "User": "root"
  },
  "Author": "Nicolas Ausello [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3843-0463>)",
  "Maintainer": "Nicolas Ausello <nicolasausello@yahoo.fr>",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://nausello.r-universe.dev",
  "Date/Publication": "2026-05-11 21:46:19 UTC",
  "RemoteUrl": "https://github.com/cran/spatialRegroup",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc61ccf871823e0fd1224f66140269bff63d7686",
  "MD5sum": "7bc9363b7fc1631ae4e7d20fba844ba2",
  "_user": "nausello",
  "_type": "src",
  "_file": "spatialRegroup_0.1.0.tar.gz",
  "_fileid": "f2f734e68634180e88372fdefe657383c76c0d7095267fffb34506cae23c44dc",
  "_filesize": 112539,
  "_sha256": "f2f734e68634180e88372fdefe657383c76c0d7095267fffb34506cae23c44dc",
  "_created": "2026-05-12T07:01:18.000Z",
  "_published": "2026-05-22T10:54:56.279Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77365556309,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937719773"
    },
    {
      "job": 77365556479,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937725928"
    },
    {
      "job": 77365556317,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937732355"
    },
    {
      "job": 77365555952,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937719508"
    },
    {
      "job": 77365555483,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937689107"
    },
    {
      "job": 77365555645,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158799632"
    },
    {
      "job": 77365556052,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937730320"
    },
    {
      "job": 77365556307,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937714309"
    },
    {
      "job": 77365556152,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937711090"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/spatialRegroup",
  "_commit": {
    "id": "dc61ccf871823e0fd1224f66140269bff63d7686",
    "author": "Nicolas Ausello <nicolasausello@yahoo.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1778535979
  },
  "_maintainer": {
    "name": "Nicolas Ausello",
    "email": "nicolasausello@yahoo.fr",
    "login": "nausello",
    "uuid": 75209992,
    "orcid": "0000-0003-3843-0463"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-05-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nausello",
      "count": 1,
      "uuid": 75209992
    }
  ],
  "_userbio": {
    "uuid": 75209992,
    "type": "user",
    "name": "Nicolas Ausello"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialRegroup"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/spatialRegroup.html",
    "manual.pdf"
  ],
  "_realowner": "nausello",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "assign_best_group",
    "build_neighbors",
    "compute_affinity",
    "compute_cohesion",
    "compute_profiles",
    "remove_isolates",
    "spatialRegroup"
  ],
  "_help": [
    {
      "page": "assign_best_group",
      "title": "Rattacher chaque commune candidate au groupe voisin le plus proche",
      "topics": [
        "assign_best_group"
      ]
    },
    {
      "page": "build_neighbors",
      "title": "Construire la matrice de voisinage spatial",
      "topics": [
        "build_neighbors"
      ]
    },
    {
      "page": "compute_affinity",
      "title": "Calculer les affinites attributaires des communes frontalières",
      "topics": [
        "compute_affinity"
      ]
    },
    {
      "page": "compute_cohesion",
      "title": "Calculer la coherence interne d'un groupement (eta-carre moyen)",
      "topics": [
        "compute_cohesion"
      ]
    },
    {
      "page": "compute_profiles",
      "title": "Calculer les profils moyens par groupe",
      "topics": [
        "compute_profiles"
      ]
    },
    {
      "page": "remove_isolates",
      "title": "Reintegrer les communes candidates isolees",
      "topics": [
        "remove_isolates"
      ]
    },
    {
      "page": "spatialRegroup",
      "title": "Regroupement spatial iteratif par affinite attributaire",
      "topics": [
        "spatialRegroup"
      ]
    }
  ],
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "igraph",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sp",
    "spData",
    "spdep",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "spatialregroup",
  "_universes": [
    "nausello"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-12T07:03:05.000Z",
      "distro": "noble",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "cec7ac89390d7fbc7dca36d6883741198597019544f1a66ea4d92c4f2718cded",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-12T07:03:25.000Z",
      "distro": "noble",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "07ae224968ac32eb8a4724d7510b9968d0c1b3f3b70f2a0b9acadabe99176ccb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-12T07:03:49.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "ca65d1b9e41783310492dc621a78b906a95038a91d6fa0c23b30327657e9ab4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-12T07:03:06.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "4bbceb0f0c67e0766bc7d8b384ac2b9834d0378e5630162759b46434e54703de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T07:03:36.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "eed1c21bd7decdce7c171952a4bfd3dd3cae4dcc4b14db3aa900551c0c77c19e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T07:02:40.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "1da72f2e5af264758375918d17d76fdbc779b3fb05850089cc098ba4e5791be5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T07:02:29.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "c49dd6669c8e1bd23737b9d162ae984cf89b09ff79e62e7094c3ea9b2ca2f6fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T10:54:35.000Z",
      "commit": "dc61ccf871823e0fd1224f66140269bff63d7686",
      "fileid": "c9dc07f99a73d547739e73dbc8b1a02018cc96c7dea34815816e248ff62a9d22",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nausello/actions/runs/25718740758"
    }
  ]
}