{"id":16571732,"url":"https://github.com/hrbrmstr/mrt","last_synced_at":"2026-01-20T09:34:30.018Z","repository":{"id":141238539,"uuid":"63630989","full_name":"hrbrmstr/mrt","owner":"hrbrmstr","description":"Tools to Retrieve and Process 'BGP' Files in R","archived":false,"fork":false,"pushed_at":"2017-11-25T14:36:22.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T11:49:46.237Z","etag":null,"topics":["bgp","mrt","r","r-cyber","rib","router","rstats"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-18T19:29:32.000Z","updated_at":"2025-03-22T11:14:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b0faf6c-7a52-4c9e-8ee4-5f981b2f8f8f","html_url":"https://github.com/hrbrmstr/mrt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrbrmstr/mrt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fmrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fmrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fmrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fmrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/mrt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fmrt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28600665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T08:51:33.170Z","status":"ssl_error","status_checked_at":"2026-01-20T08:51:10.855Z","response_time":117,"last_error":"SSL_read: 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":["bgp","mrt","r","r-cyber","rib","router","rstats"],"created_at":"2024-10-11T21:25:03.846Z","updated_at":"2026-01-20T09:34:30.001Z","avatar_url":"https://github.com/hrbrmstr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\n---\n\n`mrt` : Tools to Retrieve and Process 'BGP' Files\n\n### Requirements\n\nThis package links to [`libBGPdump`](https://bitbucket.org/ripencc/bgpdump/wiki/Home).\n\nOn macOS, you can do the following to install the libary:\n\n    brew install bgpdump\n    \n\nOn Ubuntu/Debian (or prbly any other one) you can do the following to install the library:\n\n    sudo apt-get install -y mercurial libbz2-dev zlib1g-dev\n    hg clone https://bitbucket.org/ripencc/bgpdump\n    cd bgpdump\n    ./bootstrap.sh\n    make\n    sudo make install\n\n(you may need to use `ldconfig` after that depending on your system)    \n\n\nThe following functions are implemented:\n\n- `get_latest_rib`:\tRetrieve the latest RouteViews RIB file\n- `get_rib`:\tRetrieve a specific, historical RouteViews RIB file\n- `rib_to_asn_table`:\tConvert RouteViews RIB (bgpdump table dump v2) to subnet/asn map\n\n### Installation\n\n```{r eval=FALSE}\ndevtools::install_github(\"hrbrmstr/mrt\")\n```\n\n```{r echo=FALSE, message=FALSE, warning=FALSE, error=FALSE}\noptions(width=120)\n```\n\n### Usage\n\n```{r}\nlibrary(mrt)\n\n# current verison\npackageVersion(\"mrt\")\n\n```\n\n### Test Results\n\n```{r}\nlibrary(mrt)\nlibrary(testthat)\n\ndate()\n\ntest_dir(\"tests/\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fmrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fmrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fmrt/lists"}