knitr::opts_chunk$set( warning = FALSE, message = FALSE, collapse = TRUE, comment = "#>", fig.path = "tools/readme/README-" )
Tidied Github commit data + ggraph network plots
remotes::install_github('yonicd/ghnet')
library(ghnet,warn.conflicts = FALSE,quietly = TRUE)
ghnet::get_commit(user = 'thinkr-open',repo = 'remedy')
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%>% 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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.