View source: R/get_git_commits.R
get_git_commits | R Documentation |
Get Commit Data from Gitlab
get_git_commits(
project_id = 102,
token = Sys.getenv("GITLAB_TOKEN"),
return = "tableau",
timezone = "America/Chicago"
)
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. |
up to 10000 commits from gitlab. How this is returned depends on the value of return
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.