Description Usage Arguments Details Value See Also Examples
creates a ggpraph object using the tidied commit data
1 | create_plot(data, add_labels = "none")
|
data |
tibble, tidied commit data from |
add_labels |
character, add labels to graph nodes, Default: 'none' |
add_labels can be c('both','repo','user','none')
ggraph plot
as_tbl_graph.data.frame
,centrality
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
gh_data_2018 <- gh_data%>%
dplyr::filter(format(date,'%Y')=='2018')%>%
dplyr::mutate(freq_var = format(date,'%Y'))%>%
create_graph_data()
gh_data_2018%>%create_plot()
gh_data_2018%>%create_plot(add_labels='user')
gh_data_2018%>%create_plot(add_labels='repo')
gh_data_2018%>%create_plot(add_labels='both')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.