{
  "_id": "6aca8bf7fe5cc25786e8b3f4",
  "Package": "nngeo",
  "Type": "Package",
  "Title": "k-Nearest Neighbor Join for Spatial Data",
  "Version": "0.4.8",
  "Authors@R": "c(\nperson(\"Michael\", \"Dorman\", email = \"dorman@post.bgu.ac.il\", role = c(\"aut\", \"cre\")),\nperson(\"Johnathan\", \"Rush\", email = \"johnathan.rush@mssm.edu\", role = c(\"ctb\")),\nperson(\"Ian\", \"Hough\", email = \"hough@post.bgu.ac.il\", role = c(\"ctb\")),\nperson(\"Dominic\", \"Russel\", email = \"domrussel@gmail.com\", role = c(\"ctb\")),\nperson(\"Luigi\", \"Ranghetti\", email = \"luigi.ranghetti@gmail.com\", role = c(\"ctb\")),\nperson(\"Attilio\", \"Benini\", email = \"attilio.benini@gmx.net\", role = c(\"ctb\")),\nperson(\"Arnaud\", \"Tarroux\", email = \"arnaud.tarroux@nina.no\", role = c(\"ctb\")),\nperson(\"Felipe\", \"Matas\", email = \"felipematas@yahoo.com\", role = c(\"ctb\")),\nperson(\"Charles\", \"F.F Karney\", role = c(\"ctb\", \"cph\"),\ncomment=\"Author of included C code from 'GeographicLib' for geodesic distance\"))",
  "Description": "K-nearest neighbor search for projected and non-projected\n'sf' spatial layers. Nearest neighbor search uses (1) C code\nfrom 'GeographicLib' for lon-lat point layers, (2) function\nknn() from package 'nabor' for projected point layers, or (3)\nfunction st_distance() from package 'sf' for line or polygon\nlayers. The package also includes several other utility\nfunctions for spatial analysis.",
  "License": "MIT + file LICENSE",
  "LazyData": "TRUE",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://michaeldorman.github.io/nngeo/,\nhttps://github.com/michaeldorman/nngeo/",
  "BugReports": "https://github.com/michaeldorman/nngeo/issues/",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://michaeldorman.r-universe.dev",
  "Date/Publication": "2024-04-17 09:55:16 UTC",
  "RemoteUrl": "https://github.com/michaeldorman/nngeo",
  "RemoteRef": "HEAD",
  "RemoteSha": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 18:08:54 UTC",
    "User": "root"
  },
  "Author": "Michael Dorman [aut, cre],\nJohnathan Rush [ctb],\nIan Hough [ctb],\nDominic Russel [ctb],\nLuigi Ranghetti [ctb],\nAttilio Benini [ctb],\nArnaud Tarroux [ctb],\nFelipe Matas [ctb],\nCharles F.F Karney [ctb, cph] (Author of included C code from\n'GeographicLib' for geodesic distance)",
  "Maintainer": "Michael Dorman <dorman@post.bgu.ac.il>",
  "_user": "michaeldorman",
  "_type": "src",
  "_file": "nngeo_0.4.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa9df857c10219f62da1f88f20c85c2ce537f2669c962e4fd43cb1e63d24967f",
  "_filesize": 657949,
  "_sha256": "aa9df857c10219f62da1f88f20c85c2ce537f2669c962e4fd43cb1e63d24967f",
  "_expires": "2027-01-18T19:03:14.000Z",
  "_created": "2026-10-10T18:08:54.000Z",
  "_published": "2026-10-10T19:03:19.774Z",
  "_buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114278915274,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678202853"
    },
    {
      "job": 114278915184,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678073150"
    },
    {
      "job": 114278915227,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677313980"
    },
    {
      "job": 114278915179,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677693400"
    },
    {
      "job": 114278915305,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679202584"
    },
    {
      "job": 114278915229,
      "time": 264,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677823831"
    },
    {
      "job": 114278915267,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679059238"
    },
    {
      "job": 114278915210,
      "time": 210,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678148014"
    },
    {
      "job": 114278102782,
      "time": 240,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677778271"
    },
    {
      "job": 114278915201,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11677878371"
    },
    {
      "job": 114278915225,
      "time": 295,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677409107"
    },
    {
      "job": 114278915280,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677863383"
    },
    {
      "job": 114278915238,
      "time": 121,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677633426"
    },
    {
      "job": 114278915256,
      "time": 187,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677588649"
    },
    {
      "job": 114278915217,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678457169"
    }
  ],
  "_upstream": "https://github.com/michaeldorman/nngeo",
  "_commit": {
    "id": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
    "author": "michaeldorman <michael.dorman@mail.huji.ac.il>",
    "committer": "michaeldorman <michael.dorman@mail.huji.ac.il>",
    "message": "0.4.8\n",
    "time": 1713347716
  },
  "_maintainer": {
    "name": "Michael Dorman",
    "email": "dorman@post.bgu.ac.il",
    "login": "michaeldorman",
    "description": "",
    "uuid": 9386655
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "version": ">= 0.6",
      "role": "Depends"
    },
    {
      "package": "nabor",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "RPostgreSQL",
      "role": "Suggests"
    },
    {
      "package": "stars",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "michaeldorman",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [],
  "_tags": [],
  "_stars": 82,
  "_contributors": [
    {
      "user": "michaeldorman",
      "count": 87,
      "uuid": 9386655
    },
    {
      "user": "rushgeo",
      "count": 3,
      "uuid": 10775395
    },
    {
      "user": "a-benini",
      "count": 3,
      "uuid": 59484284
    },
    {
      "user": "ihough",
      "count": 2,
      "uuid": 142520
    },
    {
      "user": "fjellrev",
      "count": 1,
      "uuid": 11294499
    },
    {
      "user": "ranghetti",
      "count": 1,
      "uuid": 6874239
    },
    {
      "user": "matthieustigler",
      "count": 1,
      "uuid": 108840
    }
  ],
  "_userbio": {
    "uuid": 9386655,
    "type": "user",
    "name": "Michael Dorman",
    "followers": 136
  },
  "_downloads": {
    "count": 1849,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nngeo"
  },
  "_devurl": "https://github.com/michaeldorman/nngeo",
  "_pkgdown": "https://michaeldorman.github.io/nngeo/",
  "_searchresults": 916,
  "_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/nngeo.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/michaeldorman/nngeo",
  "_realowner": "michaeldorman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-01-16"
    },
    {
      "version": "0.1.5",
      "date": "2018-03-16"
    },
    {
      "version": "0.1.8",
      "date": "2018-05-15"
    },
    {
      "version": "0.2.0",
      "date": "2018-07-18"
    },
    {
      "version": "0.2.1",
      "date": "2018-07-21"
    },
    {
      "version": "0.2.2",
      "date": "2018-09-29"
    },
    {
      "version": "0.2.4",
      "date": "2018-12-06"
    },
    {
      "version": "0.2.7",
      "date": "2019-03-12"
    },
    {
      "version": "0.2.8",
      "date": "2019-05-12"
    },
    {
      "version": "0.2.9",
      "date": "2019-08-07"
    },
    {
      "version": "0.3.0",
      "date": "2019-12-03"
    },
    {
      "version": "0.3.4",
      "date": "2020-02-03"
    },
    {
      "version": "0.3.7",
      "date": "2020-04-04"
    },
    {
      "version": "0.3.8",
      "date": "2020-06-10"
    },
    {
      "version": "0.3.9",
      "date": "2020-08-11"
    },
    {
      "version": "0.4.0",
      "date": "2020-10-18"
    },
    {
      "version": "0.4.1",
      "date": "2021-01-07"
    },
    {
      "version": "0.4.2",
      "date": "2021-03-15"
    },
    {
      "version": "0.4.3",
      "date": "2021-06-13"
    },
    {
      "version": "0.4.4",
      "date": "2021-09-06"
    },
    {
      "version": "0.4.5",
      "date": "2022-01-13"
    },
    {
      "version": "0.4.6",
      "date": "2022-05-29"
    },
    {
      "version": "0.4.7",
      "date": "2023-04-24"
    },
    {
      "version": "0.4.8",
      "date": "2024-04-17"
    }
  ],
  "_exports": [
    "st_azimuth",
    "st_connect",
    "st_ellipse",
    "st_nn",
    "st_postgis",
    "st_remove_holes",
    "st_segments"
  ],
  "_datasets": [
    {
      "name": "cities",
      "title": "Point layer of the three largest cities in Israel",
      "object": "cities",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "name",
        "geometry"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "line",
      "title": "Sample network dataset: lines",
      "object": "line",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "id",
        "dir",
        "source",
        "target",
        "cost",
        "reverse_cost",
        "category_id",
        "reverse_category_id",
        "x1",
        "y1",
        "x2",
        "y2",
        "the_geom"
      ],
      "rows": 18,
      "table": true,
      "tojson": true
    },
    {
      "name": "pnt",
      "title": "Sample network dataset: points",
      "object": "pnt",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "pid",
        "x",
        "y",
        "edge_id",
        "side",
        "fraction",
        "the_geom"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    },
    {
      "name": "towns",
      "title": "Point layer of towns in Israel",
      "object": "towns",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "name",
        "country.etc",
        "pop",
        "capital",
        "geometry"
      ],
      "rows": 193,
      "table": true,
      "tojson": true
    },
    {
      "name": "water",
      "title": "Polygonal layer of water bodies in Israel",
      "object": "water",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "name",
        "geometry"
      ],
      "rows": 4,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cities",
      "title": "Point layer of the three largest cities in Israel",
      "topics": [
        "cities"
      ]
    },
    {
      "page": "line",
      "title": "Sample network dataset: lines",
      "topics": [
        "line"
      ]
    },
    {
      "page": "pnt",
      "title": "Sample network dataset: points",
      "topics": [
        "pnt"
      ]
    },
    {
      "page": "st_azimuth",
      "title": "Calculate the azimuth between pairs of points",
      "topics": [
        "st_azimuth"
      ]
    },
    {
      "page": "st_connect",
      "title": "Create lines between features of two layers",
      "topics": [
        "st_connect"
      ]
    },
    {
      "page": "st_ellipse",
      "title": "Calculate ellipse polygon",
      "topics": [
        "st_ellipse"
      ]
    },
    {
      "page": "st_nn",
      "title": "Nearest Neighbor Search for Simple Features",
      "topics": [
        "st_nn"
      ]
    },
    {
      "page": "st_postgis",
      "title": "Send 'sf' layer to a PostGIS query",
      "topics": [
        "st_postgis"
      ]
    },
    {
      "page": "st_remove_holes",
      "title": "Remove polygon holes",
      "topics": [
        "st_remove_holes"
      ]
    },
    {
      "page": "st_segments",
      "title": "Split polygons or lines to segments",
      "topics": [
        "st_segments"
      ]
    },
    {
      "page": "towns",
      "title": "Point layer of towns in Israel",
      "topics": [
        "towns"
      ]
    },
    {
      "page": "water",
      "title": "Polygonal layer of water bodies in Israel",
      "topics": [
        "water"
      ]
    }
  ],
  "_readme": "https://github.com/michaeldorman/nngeo/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "class",
    "classInt",
    "data.table",
    "DBI",
    "e1071",
    "KernSmooth",
    "nabor",
    "proxy",
    "Rcpp",
    "RcppEigen",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction to package nngeo",
      "author": "Michael Dorman",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Package purpose",
        "Installation",
        "Sample data",
        "Usage examples",
        "The st_nn function",
        "The st_connect function",
        "Dense matrix representation",
        "k-Nearest neighbors where k>0",
        "Distance to nearest neighbors",
        "Search radius",
        "Spatial join",
        "Binding distances to join result",
        "Polygons"
      ],
      "created": "2018-01-01 16:06:33",
      "modified": "2021-07-15 20:32:12",
      "commits": 14
    }
  ],
  "_score": 10.05113125608939,
  "_indexed": true,
  "_nocasepkg": "nngeo",
  "_universes": [
    "michaeldorman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-10-10T18:10:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/da618497bb1e754380815992ec7f672949ebb9b2138dff8ae4261c2343acb88f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-10-10T18:11:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/22e1a2c0d4cfa51b7f6907b18cb98b8ad61b5a4750b2472d8f41b2594003bd90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-10-10T18:10:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/c9d634d8d7eb197d9b203961de4db3f7338bfa54b4c9481180b1ac58c37cf795",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-10-10T18:11:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/c3bf5b5a686eb3b715601bc22151450b11efdede5c9ceb26eb3ae0180fb565b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-10-10T19:01:34.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/8f519b3e7e24553814640ec0ed1fb8c615eb751cb4351fbf2af2530f9201f3b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-10-10T18:13:23.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/5741a973c0af324c92210fd460167aa8b15d527b7af4641a84c7d45743657cb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-10-10T19:02:36.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/27b20684f8f7d6f053cb581babfaf3ad43e6a2fdc96fa7cdb583c9a2e3abb422",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-10-10T18:12:09.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/9fad22ac5149b1e93e13fe68942ada4538e5396a77ca90e2c97c1e2212ad34ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.8",
      "date": "2026-10-10T18:11:17.000Z",
      "arch": "emscripten",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/aef1b83d62522c0e5f56cdc9fdd80ae95480830bb431824309b062b45123b63e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-10-10T18:13:30.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/2b12af123060b05d440e2a500f36e20f0b8483e302d77a41fbb9f67d69bffe0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-10-10T18:10:24.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/ecbad529d7b7d25e595cc78a7174d9d3b596eefb0d0b4eed4fd131bef049e8bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-10-10T18:10:48.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/7b084c10860eede14f95826303e9f8bfe0461999db23d0de39607a072dedf92c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-10-10T18:11:53.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/7dba5035035242dc27f17d60d1436338caad659d9c40acd135742a6ee1c94e50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-10-10T18:10:21.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "https://r2.ropensci.org/bd1cfba8c02b3fb6884ce631b2fd601c1e2c97db33680b58e33d1695d1db58a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/38074333131"
    }
  ]
}