{"id":21089196,"url":"https://github.com/rrmn/distgeo_v","last_synced_at":"2026-04-28T14:33:40.290Z","repository":{"id":163719031,"uuid":"187288823","full_name":"rrmn/distGeo_v","owner":"rrmn","description":"A blazing-fast tidyverse-friendly wrapper for geodesic distance calculation with R.","archived":false,"fork":false,"pushed_at":"2019-08-19T22:27:40.000Z","size":305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T14:36:43.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrmn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-05-17T22:31:26.000Z","updated_at":"2019-08-19T22:27:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"5578367c-b8d6-4f4f-98e6-4921e9e6a5f7","html_url":"https://github.com/rrmn/distGeo_v","commit_stats":null,"previous_names":["romanabashin/distgeo_v"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rrmn/distGeo_v","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2FdistGeo_v","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2FdistGeo_v/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2FdistGeo_v/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2FdistGeo_v/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrmn","download_url":"https://codeload.github.com/rrmn/distGeo_v/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2FdistGeo_v/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T21:23:59.571Z","updated_at":"2026-04-28T14:33:40.268Z","avatar_url":"https://github.com/rrmn.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# distGeo_v\nA tidyverse-friendly wrapper for geosphere's geodesic distance calculation.\n\n## Usage\n\n    library(geosphere)\n    source(\"https://raw.githubusercontent.com/RomanAbashin/distGeo_v/master/distGeo_v.R\")\n    \n    \n    distGeo_v(x, y, xx, yy)\n\n## Benchmarks\n\n![Result 1:100](img/result_1.png)\n\n![Result 1:1000](img/result_2.png)\n\n\n\n\n## Speed Test\n\n    library(tidyverse)\n    library(microbenchmark)\n\n    f_row \u003c- function(t) {\n\n        result \u003c- t %\u003e%\n            rowwise() %\u003e%\n            mutate(dist = distGeo(c(x, y), c(lag(x), lag(y)))) \n\n        return(result)\n\n    }\n\n    f_vec \u003c- function(t) {\n\n        result \u003c- t %\u003e%\n            mutate(dist = distGeo_v(x, y, lag(x), lag(y))) \n\n        return(result)\n\n    }\n\n    set.seed(1702)\n    for(i in c(1:10, 100, 1000, 10000)) {\n        n \u003c- i\n        t \u003c- tibble(x = runif(n, -180, 180),\n                    y = runif(n, -60, 60))\n        mb \u003c- microbenchmark(f_vec(t), f_row(t), unit = \"ms\")\n\n        tibble_mb \u003c- cbind(data.frame(n = i), summary(mb))\n        if(i \u003e 1) {\n            result_mb \u003c- rbind(result_mb, tibble_mb)\n        } else {\n            result_mb \u003c- tibble_mb\n        }\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrmn%2Fdistgeo_v","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrmn%2Fdistgeo_v","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrmn%2Fdistgeo_v/lists"}