github_repo: Get GitHub metrics on a user or organization's repositories.

View source: R/github.r

github_repoR Documentation

Get GitHub metrics on a user or organization's repositories.

Description

Get GitHub metrics on a user or organization's repositories.

Usage

  github_repo(userorg = NA, repo = NA, return_ = "show")

Arguments

userorg

User or organization GitHub name.

repo

Repository name.

return_

what to return, one of: show (raw data), allstats, watchers, open_issues, or forks

Value

json

Examples

## 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)

ropensci/sandbox documentation built on May 18, 2022, 7:32 p.m.