{
  "_id": "6ac0b9d791601a2ad2997dcf",
  "Package": "SpatialML",
  "Type": "Package",
  "Title": "Spatial Machine Learning",
  "Version": "1.8.2",
  "Date": "2026-07-06",
  "Authors@R": "c(\nperson(\"Stamatis\", \"Kalogirou\",\nemail = \"stamatis.science@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-1949-6248\")),\nperson(\"Stefanos\", \"Georganos\",\nemail = \"stefanos.georganos@kau.se\",\nrole = \"aut\"))",
  "Description": "Implements a spatial extension of the random forest\nalgorithm (Georganos et al. (2019)\n<doi:10.1080/10106049.2019.1595177>). Provides a Geographically\nWeighted Random Forest regression and a routine to find the\noptimal bandwidth (Georganos and Kalogirou (2022)\n<doi:10.3390/ijgi11090471>). A lightweight cross-validation\nhelper for tuning the 'mtry' parameter of a random forest and a\ngenerator of synthetic spatial test data are also included. The\npackage depends on 'ranger' as its single random-forest\nback-end.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://stamatisgeoai.eu/",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 08:13:38 UTC",
    "User": "root"
  },
  "Author": "Stamatis Kalogirou [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1949-6248>), Stefanos Georganos\n[aut]",
  "Maintainer": "Stamatis Kalogirou <stamatis.science@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-06 11:08:41 UTC",
  "RemoteUrl": "https://github.com/cran/SpatialML",
  "RemoteRef": "HEAD",
  "RemoteSha": "c5991c81cde7b2a0a695a575e52135630494d4f7",
  "_user": "cran",
  "_type": "src",
  "_file": "SpatialML_1.8.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e63350cbcda6208ce00a84c918d12cf21ea519b3c62c71d25511c59d30b65219",
  "_filesize": 302324,
  "_sha256": "e63350cbcda6208ce00a84c918d12cf21ea519b3c62c71d25511c59d30b65219",
  "_expires": "2027-01-11T08:16:21.000Z",
  "_created": "2026-10-03T08:13:38.000Z",
  "_published": "2026-10-03T08:16:23.377Z",
  "_jobs": [
    {
      "job": 111163118330,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11268349423"
    },
    {
      "job": 111163118340,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268289753"
    },
    {
      "job": 111162502234,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268768480"
    },
    {
      "job": 111163118365,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11269041381"
    },
    {
      "job": 111163118464,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11269285928"
    },
    {
      "job": 111163118415,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268444159"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422",
  "_status": "success",
  "_upstream": "https://github.com/cran/SpatialML",
  "_commit": {
    "id": "c5991c81cde7b2a0a695a575e52135630494d4f7",
    "author": "Stamatis Kalogirou <stamatis.science@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.8.2\n",
    "time": 1783336121
  },
  "_maintainer": {
    "name": "Stamatis Kalogirou",
    "email": "stamatis.science@gmail.com",
    "orcid": "0000-0003-1949-6248"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ranger",
      "version": ">= 0.15.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.8.2",
      "date": "2026-07-06"
    }
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "kalogirous",
      "count": 4,
      "uuid": 10260491
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 380,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatialML"
  },
  "_mentions": 2,
  "_searchresults": 51,
  "_rbuild": "4.6.1",
  "_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/SpatialML.html"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2019-05-09"
    },
    {
      "version": "0.1.4",
      "date": "2022-06-20"
    },
    {
      "version": "0.1.5",
      "date": "2022-09-02"
    },
    {
      "version": "0.1.6",
      "date": "2023-11-08"
    },
    {
      "version": "0.1.7",
      "date": "2024-04-02"
    },
    {
      "version": "1.8.2",
      "date": "2026-07-06"
    }
  ],
  "_exports": [
    "grf",
    "grf.bw",
    "random.test.data",
    "rf.mtry.optim"
  ],
  "_datasets": [
    {
      "name": "Income",
      "title": "Mean Household Income at the Local Authorities of Greece in 2011",
      "object": "Income",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Y",
        "UnemrT01",
        "PrSect01",
        "Foreig01",
        "Income01"
      ],
      "rows": 325,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "SpatialML-package",
      "title": "Spatial Machine Learning: Geographically Weighted Random Forest",
      "topics": [
        "SpatialML-package",
        "SpatialML"
      ]
    },
    {
      "page": "grf",
      "title": "Geographically Weighted Random Forest Model",
      "topics": [
        "grf"
      ]
    },
    {
      "page": "grf.bw",
      "title": "Optimal Bandwidth Selection for a Geographically Weighted Random Forest",
      "topics": [
        "grf.bw"
      ]
    },
    {
      "page": "Income",
      "title": "Mean Household Income at the Local Authorities of Greece in 2011",
      "topics": [
        "Income"
      ]
    },
    {
      "page": "predict.grf",
      "title": "Predict Method for a Geographically Weighted Random Forest",
      "topics": [
        "predict.grf"
      ]
    },
    {
      "page": "random.test.data",
      "title": "Random Data Generator",
      "topics": [
        "random.test.data"
      ]
    },
    {
      "page": "rf.mtry.optim",
      "title": "Optimal mtry for a Random Forest via OOB or Cross-Validation",
      "topics": [
        "rf.mtry.optim"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "ranger",
    "Rcpp",
    "RcppEigen"
  ],
  "_vignettes": [
    {
      "source": "SpatialML.Rmd",
      "filename": "SpatialML.html",
      "title": "Geographically Weighted Random Forest with SpatialML",
      "author": "Stamatis Kalogirou and Stefanos Georganos",
      "engine": "knitr::knitr",
      "headings": [
        "1. Introduction",
        "2. Quick start with synthetic data",
        "2.1 Tuning mtry globally",
        "2.2 Optimal bandwidth",
        "2.3 Fitting the GRF",
        "2.4 Inspecting the fit",
        "2.5 Predicting at new locations",
        "3. Real-world example: Greek municipal income",
        "4. Practical tips",
        "References"
      ],
      "created": "2026-07-06 11:08:41",
      "modified": "2026-07-06 11:08:41",
      "commits": 1
    }
  ],
  "_score": 4.122543524068754,
  "_indexed": true,
  "_nocasepkg": "spatialml",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.2",
      "date": "2026-10-03T08:15:37.000Z",
      "distro": "resolute",
      "commit": "c5991c81cde7b2a0a695a575e52135630494d4f7",
      "fileid": "https://r2.ropensci.org/fafca1bedf65105b4bc7b83efaf3ef4f9f40e7645bd77467f1afe5d09890992a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.8.2",
      "date": "2026-10-03T08:15:29.000Z",
      "distro": "resolute",
      "commit": "c5991c81cde7b2a0a695a575e52135630494d4f7",
      "fileid": "https://r2.ropensci.org/c30f715b89c125d140e619f3e01217b15e573a0c33f1e01110c67827b50625fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.2",
      "date": "2026-10-03T08:15:44.000Z",
      "commit": "c5991c81cde7b2a0a695a575e52135630494d4f7",
      "fileid": "https://r2.ropensci.org/789d787b86fb882497434921f19d1cf612a08571fbed42feb6f4b5f06bf3db8a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.2",
      "date": "2026-10-03T08:14:56.000Z",
      "commit": "c5991c81cde7b2a0a695a575e52135630494d4f7",
      "fileid": "https://r2.ropensci.org/d2d5db1763380821a7459945d137c182c22451f5f78f5167500930d25bdd2896",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.8.2",
      "date": "2026-10-03T08:15:01.000Z",
      "commit": "c5991c81cde7b2a0a695a575e52135630494d4f7",
      "fileid": "https://r2.ropensci.org/3623110e3cb8e1b5d210f2b5c4f885ba08d069198d3638e71f61291d6e72ff3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37108748422"
    }
  ]
}