{
  "_id": "6a1d501e1d7bb097a0a45a89",
  "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-01 09:21:11 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": "0a4e1a4450c62fb3209598911bc55741",
  "_user": "michaeldorman",
  "_type": "src",
  "_file": "nngeo_0.4.8.tar.gz",
  "_fileid": "67349a0bf067e1271776225d382a8be69aa8df94d67263d3a117dc846d37232b",
  "_filesize": 656388,
  "_sha256": "67349a0bf067e1271776225d382a8be69aa8df94d67263d3a117dc846d37232b",
  "_created": "2026-06-01T09:21:11.000Z",
  "_published": "2026-06-01T09:25:50.316Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78822599965,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327847080"
    },
    {
      "job": 78822599944,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327851486"
    },
    {
      "job": 78822600083,
      "time": 201,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327865919"
    },
    {
      "job": 78822599963,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327854762"
    },
    {
      "job": 78822599990,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327837499"
    },
    {
      "job": 78822599986,
      "time": 238,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327877781"
    },
    {
      "job": 78822599957,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327831319"
    },
    {
      "job": 78822600015,
      "time": 191,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327862314"
    },
    {
      "job": 78822007141,
      "time": 221,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327798940"
    },
    {
      "job": 78822599923,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327844623"
    },
    {
      "job": 78822600001,
      "time": 189,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327861901"
    },
    {
      "job": 78822599983,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327849932"
    },
    {
      "job": 78822599955,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327835249"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286",
  "_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"
  },
  "_downloads": {
    "count": 1431,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nngeo"
  },
  "_devurl": "https://github.com/michaeldorman/nngeo",
  "_pkgdown": "https://michaeldorman.github.io/nngeo/",
  "_searchresults": 764,
  "_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",
    "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": 9.809879341150452,
  "_indexed": true,
  "_nocasepkg": "nngeo",
  "_universes": [
    "michaeldorman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "06abe2bcca8b3b7468e4a0729866e50f95701fbc73d875195b915ee4d18be48e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "fb461c940adf3b606e31f092ccd8ac0021e5ae5af4255408036877458492ec11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-01T09:24:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "94aa91d6d8e9f21b43c78abe3c56fa4916f6021c1b2849ba8bfaa82e2736340d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "f60d2d6bce0ca5273a3cd797ed6f6db5f55dbcc6b57c2cc797ece0ea120a0e09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-01T09:22:57.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "9bc76e31f5227e18d9d90a33d6f087bd703de558a8b145fd978e342d79e05e98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-01T09:24:47.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "5aab7c85a801ce9ea3372edb31dde59d959e5339dca26d4f9ce6f8e39c188471",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-01T09:22:48.000Z",
      "arch": "aarch64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "7f41ab5c5851283b23ecc2f84d79d31e3b82f5bab1a59722d6fb5e65c57f6de4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-06-01T09:24:00.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "a5e63df39f4a1bdcbccad174675ed3ef369a7166eaa6065db640b18a4a3939a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:48.000Z",
      "arch": "emscripten",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "05b03a88914a1486f77c6bac674d4d9b17087b1ab5d97b7ce4b69409a1030a12",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:35.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "2a369c3cf4e04f7cd45304212eed9bd4bd21e5f584a9e74436005d1d50804342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-01T09:23:18.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "c0c414e1b594ef6f8dc8b9bda0616f11c1495a4fd0df94f748d9e7486bedb5c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-06-01T09:22:43.000Z",
      "arch": "x86_64",
      "commit": "bf5b1c10daf05d3ad27af0c6d95fd503dca5bde0",
      "fileid": "84ef6836098541ff9e4de50735352d541f7c058c2adcc68c07b28625ca5ce1f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaeldorman/actions/runs/26746127286"
    }
  ]
}