R/org.R
, R/org_exists.R
, R/org_repo_stats.R
, and 3 more
org_details.Rd
org_exists
- returns TRUE
if the organization(s) exist on GitHub and FALSE
otherwise.
org_teams
- returns a (filtered) vector of organization teams.
org_team_details
- returns a data frame of all organization teams containing identification and permission details.
org_repos
- returns a (filtered) vector of organization repositories.
org_repo_stats
- returns a tibble of repositories belonging to a GitHub organization along with some
basic statistics about those repositories.
org_exists(org) org_repo_stats( org, filter = "", filter_type = "in:name", inc_commits = TRUE, inc_issues = TRUE, inc_prs = TRUE ) org_repos(org, filter = NULL, exclude = FALSE, full_repo = TRUE) org_team_details(org) org_teams(org, filter = NULL, exclude = FALSE, team_type = c("name", "slug"))
org | Character. Name of the GitHub organization(s). |
---|---|
filter | Character. Regular expression pattern for matching (or excluding) results |
filter_type | Character. One or more GitHub search |
inc_commits | Logical. Include commit statistics |
inc_issues | Logical. Include issue statistics |
inc_prs | Logical. Include pull request statistics |
exclude | Logical. Should entries matching the regular expression be excluded or included. |
full_repo | Logical. Should the full repository address be returned (e.g. |
team_type | Character. Either "slug" if the team names are slugs or "name" if full team names are provided. |
if (FALSE) { # Org repos and teams org_repos("ghclass-test") org_repos("ghclass-test", filter = "hw1-") org_teams("ghclass-test") org_team_details("ghclass-test") }