github_repo | R Documentation |
Get GitHub metrics on a user or organization's repositories.
github_repo(userorg = NA, repo = NA, return_ = "show")
userorg |
User or organization GitHub name. |
repo |
Repository name. |
return_ |
what to return, one of: show (raw data), allstats, watchers, open_issues, or forks |
json
## Not run: github_auth() options(useragent='ropensci') github_repo(userorg = 'ropensci', repo = 'rmendeley') github_repo(userorg = 'hadley', repo = 'ggplot2') github_repo(userorg = 'hadley', repo = 'ggplot2', 'allstats') github_repo(userorg = 'hadley', repo = 'ggplot2', return_ = 'forks') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.