get_gh_pr: Get pull request information from GitHub for the given time...

View source: R/get_gh_pr.R

get_gh_prR Documentation

Get pull request information from GitHub for the given time period.

Description

Get information on pull requests from the specified GitHub repository. This is a wrapper around the 'gh' package. Original code taken from https://github.com/jennybc/analyze-github-stuff-with-r/.

Usage

get_gh_pr(owner, repo, start_date = NULL, end_date = NULL)

Arguments

owner

String specifying the owner of the repository.

repo

String specifying the name of the repo.

start_date

String specifying start date of reporting period to filter by, in the format YYYY-MM-DD. NULL by default, where no filters will be applied.

end_date

String specifying end date of reporting period to filter by, in the format YYYY-MM-DD. NULL by default, where no filters will be applied.

Value

A data frame containing details of GitHub pull requests identified in the specified date range.

Examples


get_gh_pr(owner = "martinctc", repo = "rwa")



devtoolbox documentation built on July 8, 2022, 5:08 p.m.