Usage Arguments Details Value Examples
1 | get_github_chart(user, addCommits = TRUE, showPlot = TRUE)
|
user |
GitHub user (handle) |
addCommits |
logical. Should the number of commits be overlayed? |
showPlot |
logical. Should the plot be displayed? Otherwise
|
As per the API
https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/,
returns a data.frame
of columns containing data obtained from the
requested user
's contributions chart, typically found at
https://github.com/users/<USER>/contributions.
This function utilises both theme_github
and
scale_fill_social
and is subject to updates to
those functions.
a list containing the ggplot object and data object:
list(plot = <ggplot2 object>, data = <data.frame>)
1 2 3 4 5 | ## Not run:
library(butteRfly)
get_github_chart("jonocarroll") # Jonathan Carroll
get_github_chart("hadley") # Hadley Wickham
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.