{
  "_id": "6a3bc6005cdecea1d68329e5",
  "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-06-24 11:51:03 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>",
  "MD5sum": "88765301dfcc7e911c90b707c8bc8e3c",
  "_user": "michaeldorman",
  "_type": "src",
  "_file": "nngeo_0.4.8.tar.gz",
  "_fileid": "7772c8f2f1d420050308585c95fda4f9372ed4cf2f4040494181fc390b7d3aa9",
  "_filesize": 660337,
  "_sha256": "7772c8f2f1d420050308585c95fda4f9372ed4cf2f4040494181fc390b7d3aa9",
  "_created": "2026-06-24T11:51:03.000Z",
  "_published": "2026-06-24T11:56:48.937Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83186946208,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7848661573"
    },
    {
      "job": 83186946215,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7848656405"
    },
    {
      "job": 83186946261,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848660106"
    },
    {
      "job": 83186946229,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848654596"
    },
    {
      "job": 83186946204,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848632456"
    },
    {
      "job": 83186946382,
      "time": 312,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848717356"
    },
    {
      "job": 83186946200,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848637724"
    },
    {
      "job": 83186946203,
      "time": 289,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848706882"
    },
    {
      "job": 83186349200,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848599945"
    },
    {
      "job": 83186946176,
      "time": 178,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848665184"
    },
    {
      "job": 83186946184,
      "time": 161,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7848659842"
    },
    {
      "job": 83186946195,
      "time": 126,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848646972"
    },
    {
      "job": 83186946189,
      "time": 200,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848674366"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 8,
  "_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": 134
  },
  "_downloads": {
    "count": 2122,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nngeo"
  },
  "_devurl": "https://github.com/michaeldorman/nngeo",
  "_pkgdown": "https://michaeldorman.github.io/nngeo/",
  "_searchresults": 860,
  "_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/nngeo.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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",
    "MASS",
    "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.032390179623874,
  "_indexed": true,
  "_nocasepkg": "nngeo",
  "_universes": [
    "michaeldorman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "8a656add9dfa84be1d9c5f50a7faf03ee6662f0da8c41858f619051b911d57c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "38d68b8c3b2f0337fd91879746dc1a02c73b6143a4a792f05ca5b2bea88bdc45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "7ca3749b6177d557327280c7b17bf540d37239db742b632f0b28e36c92a5f0c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "e8cb5faae59f29630bee0d877185306e3aa4fd7b6e5d2cb61d9df364a3ecfd02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-24T11:52:27.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "059ea2451e89a08d9db63a98800d5f418ad3cbebceaa5b231f837a65708b953d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-24T11:55:34.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "049fe1e02aac2b11424ecab137f83eb58815504e7d9e3b535b6ce4678e90c928",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-24T11:52:39.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "b1e8fa2e917cf902687a503b53009806d6ff210dcb69c3348d6cd26f11ed9e3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-24T11:54:44.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "6d192466cff009e4257565758ca217e562234d03e25ab0c48e1551d54fab3d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.8",
      "date": "2026-06-24T11:54:13.000Z",
      "arch": "emscripten",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "41073892949ecf6fa788582b6e018babb7e5439afe9396607a1362b209cc41de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:00.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "fb567aea6e9a6853761ff1741e7a25a04725489ee18c8bf9ec9dfbf61b99f26a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-24T11:52:43.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "2ab01d372740f379acc140099a20789870ab4a3865fdfb69f736782cf4293d37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-24T11:53:57.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "c9433e7b0377f4ca7508d475e0e40073518524c4a23ba135d9351e1e8a18db24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/28096223339"
    }
  ]
}