get_commit: Use github API to return tidy table of commits

Description Usage Arguments Value See Also Examples

View source: R/gh_commit_data.R

Description

Use github api rest call to fetch commit information for a repository

Usage

1
get_commit(owner, repo, gh_pat = Sys.getenv("GITHUB_PAT"))

Arguments

owner

user name

repo

repository name

gh_pat

character, github pat, Default: Sys.getenv('GITHUB_PAT')

Value

tibble

See Also

GET

Examples

1
2
3
4
5
6
## Not run: 

gh_data <- get_commit(owner = 'thinkr-open', repo = 'remedy')


## End(Not run)

yonicd/ghnet documentation built on May 7, 2019, 9:35 a.m.