{"id":33187108,"url":"https://davidchall.github.io/ggip/","last_synced_at":"2025-11-25T18:00:39.019Z","repository":{"id":56935988,"uuid":"287141447","full_name":"davidchall/ggip","owner":"davidchall","description":"Data visualization for IP addresses and networks","archived":false,"fork":false,"pushed_at":"2023-04-04T05:28:54.000Z","size":10970,"stargazers_count":26,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T05:44:11.813Z","etag":null,"topics":["cyber","data-visualization","ggplot-extension","ggplot2","hilbert-curve","ip-address","ipv4","ipv6","r","space-filling-curves"],"latest_commit_sha":null,"homepage":"https://davidchall.github.io/ggip","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidchall.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-08-13T00:15:16.000Z","updated_at":"2025-03-22T10:49:19.000Z","dependencies_parsed_at":"2024-01-07T01:57:51.370Z","dependency_job_id":null,"html_url":"https://github.com/davidchall/ggip","commit_stats":{"total_commits":109,"total_committers":3,"mean_commits":"36.333333333333336","dds":"0.37614678899082565","last_synced_commit":"921e1598c3f66a3ce6813b123eea137c6cdc2775"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/davidchall/ggip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidchall%2Fggip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidchall%2Fggip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidchall%2Fggip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidchall%2Fggip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidchall","download_url":"https://codeload.github.com/davidchall/ggip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidchall%2Fggip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-25T02:00:05.816Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cyber","data-visualization","ggplot-extension","ggplot2","hilbert-curve","ip-address","ipv4","ipv6","r","space-filling-curves"],"created_at":"2025-11-16T05:00:30.371Z","updated_at":"2025-11-25T18:00:39.014Z","avatar_url":"https://github.com/davidchall.png","language":"R","funding_links":[],"categories":["Data and models"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# ggip \u003ca href='https://davidchall.github.io/ggip/'\u003e\u003cimg src='man/figures/logo.png' align=\"right\" height=\"139\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![CRAN status](https://www.r-pkg.org/badges/version/ggip)](https://CRAN.R-project.org/package=ggip)\n[![R build status](https://github.com/davidchall/ggip/workflows/R-CMD-check/badge.svg)](https://github.com/davidchall/ggip/actions)\n[![Coverage status](https://codecov.io/gh/davidchall/ggip/branch/master/graph/badge.svg)](https://app.codecov.io/gh/davidchall/ggip?branch=master)\n\u003c!-- badges: end --\u003e\n\n\nggip is a [{ggplot2}](https://ggplot2.tidyverse.org) extension for visualizing IP addresses and networks stored in [{ipaddress}](https://davidchall.github.io/ipaddress/) vectors.\n\nHere are some of the key features:\n\n* IP data mapped to 2D plane by a **unified coordinate system**\n* Compatible with **existing ggplot2 layers**\n* Custom **IP-specific layers** for common use cases\n* Full support for both **IPv4 and IPv6** address spaces\n\n\n## Installation\n\nYou can install the released version of ggip from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"ggip\")\n```\n\nOr you can install the development version from GitHub:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"davidchall/ggip\")\n```\n\n\n## Usage\n\nPlotting with {ggip} follows most of the conventions set by [{ggplot2}](https://ggplot2.tidyverse.org).\nA major difference is that `coord_ip()` is required to map IP data to the 2D grid (addresses to points and networks to rectangles).\nLearn more in `vignette(\"ggip\")`.\n\nHere's a quick showcase of what's possible:\n\n```{r ipv4-heatmap, fig.width=11.2, fig.height=10.3}\nlibrary(tidyverse)\nlibrary(ggfittext)\nlibrary(ggip)\n\nggplot(ip_data) +\n  stat_summary_address(aes(ip = address)) +\n  geom_hilbert_outline(color = \"grey80\") +\n  geom_fit_text(\n    aes(\n      xmin = network$xmin, xmax = network$xmax,\n      ymin = network$ymin, ymax = network$ymax,\n      label = label\n    ),\n    data = iana_ipv4 %\u003e% filter(allocation == \"Reserved\"),\n    color = \"#fdc086\", grow = TRUE\n  ) +\n  scale_fill_viridis_c(name = NULL, trans = \"log2\", na.value = \"black\") +\n  coord_ip(pixel_prefix = 20) +\n  theme_ip_dark()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/davidchall.github.io%2Fggip%2F","html_url":"https://awesome.ecosyste.ms/projects/davidchall.github.io%2Fggip%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/davidchall.github.io%2Fggip%2F/lists"}