Monthly commit counts on a single GitHub repo's default branch.
Source:R/fetch-repo-commits.R
github_commit_counts_by_month.RdThis is meant to run after issue-author data has already been fetched
(fetch_issue_authors()).
Usage
github_commit_counts_by_month(
repo_url = NULL,
repo_created_at = NULL,
date_start = as.Date("2015-01-01"),
date_end = NULL
)Arguments
- repo_url
A GitHub repo URL, e.g.
"https://github.com/owner/repo".- repo_created_at
The repo's own creation timestamp (as recorded in
issue-authors.csv'srepo_created_atcolumn), used to raisedate_startup to the month the repo actually came into existence.NULLdefaults to `date_start .- date_start, date_end
Date bounds on the monthly sequence, raised to the repo's creation month if
repo_created_atis later;date_enddefaults to the start of the current month.