knitr::opts_chunk$set(
  warning = FALSE,
  message = FALSE,
  collapse = TRUE,
  comment = "#>",
  fig.path = "tools/readme/README-"
)

ghnet

Tidied Github commit data + ggraph network plots

Installation

remotes::install_github('yonicd/ghnet')

Examples

library(ghnet,warn.conflicts = FALSE,quietly = TRUE)

Fetch Commit Data

ghnet::get_commit(user = 'thinkr-open',repo = 'remedy')

Network Plots

gh_data%>%
  gh_plots(title = 'Github Repository Contribution Network')

gh_data%>%
  gh_plots(title = 'Github Repository Contribution Network',
           add_labels='user')

gh_data%>%
  gh_plots(title = 'Github Repository Contribution Network',
           add_labels='repo')

gh_data%>%
  dplyr::filter(date>=as.Date('2017-01-01'))%>%
  gh_plots(title = 'Github Repository Contribution Network',
           add_labels='both')

ropenscilabs

ropenscilabs%>%
  ghnet::gh_plots(add_labels = 'repo',
                  title = 'ropensci labs contributions network',ncol=2)

ropenscilabs%>%
  dplyr::filter(date>=as.Date('2018-01-01'))%>%
  ghnet::gh_plots(add_labels = 'both',
                  title = 'ropensci labs contributions network')


yonicd/ghnet documentation built on May 7, 2019, 9:35 a.m.