gh_plots: create network plots of the tidied commit data

Description Usage Arguments Details Value Examples

View source: R/gh_plots.R

Description

use ggraph to create logitudinal network plots by year

Usage

1
2
gh_plots(plots, freq = "%Y", add_labels = "none", touch = NULL,
  title = NULL, ...)

Arguments

plots

output from create_plot

freq

character, frequency to facet, Default: 'Y'

add_labels

character, add labels to graph nodes, Default: 'none'

touch

add highlight for a user, Default: NULL

title

character title of plot, Default: NULL

...

arguments to pass to plot_layout

Details

add_labels can be c('both','repo','user','none')

Value

plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
gh_data%>%
  gh_plots(title = 'Github Repository Contribution Network')

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

## End(Not run)

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