View source: R/g_commit_activity.R
g_commit_activity | R Documentation |
Get a years worth commit data summarized by both daily count and weekly total count.
g_commit_activity(userorg, repo)
userorg |
User or organization GitHub name. |
repo |
Repository name. |
A data frame with .
## Not run: require(ggplot2) g_auth() options(useragent='ropensci') jekyll_commit <- g_commit_activity("mojombo","jekyll") week_sums <- ddply(jekyll_commit,.(week),summarise,week_avg = mean(weekly_count)) ggplot(week_sums,aes(x=week,y=week_avg))+geom_point()+geom_path()+ylab("Weekly commit totals") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.