Use data from a git_stats.csv file to get a history of commits done in a repository for the learnitgrid Shiny app.

get_git_stats(
  dir,
  exclude_authors = "github-classroom[bot]",
  type = "all",
  tz = "UTC"
)

Arguments

dir

The path the the git_stats.csv file

exclude_authors

The list of authors to exclude from the stats

type

The type of files to consider ("all", "R", "Rmd", or "Qmd")

tz

The time zone to use for times

Value

A data frame with git stats data to be used by the learnitgrid Shiny app.