get_git_commits: Get Commit Data from Gitlab

View source: R/get_git_commits.R

get_git_commitsR Documentation

Get Commit Data from Gitlab

Description

Get Commit Data from Gitlab

Usage

get_git_commits(
  project_id = 102,
  token = Sys.getenv("GITLAB_TOKEN"),
  return = "tableau",
  timezone = "America/Chicago"
)

Arguments

project_id

the id of a project. See project/settings/general

token

a private token, stored in .Renviron by default. Create a token in User Settings/Access Tokens

return

how you want the data returned. Choose "tableau" for a string vector you can paste in Tableau, or "string" for an unformatted character vector. Choose "data_frame" for a table of values. Choose "list" for a list with the table as one item and the string as the second item.

Value

up to 10000 commits from gitlab. How this is returned depends on the value of return


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.