Description Usage Arguments Value Examples
Function to compute summary statistics (called by the shell script)
1 | word_stats(date = NULL, repo = getwd(), netOnly = TRUE)
|
date |
(optional) character vector of dates, can either be of length 1, 2, or left unspecified. If length(date)==1, then the summary statistics will include all commits from that day until the latest commit. If length(date)==2, then date will be treated as a range, and the summary statistics will include all commits within that range. If date is left unspecified, then the summary statistics will include all commits in the repository. |
repo |
(optional) repo (optional) character string giving the relative or absolute path to the git repository. If left unspecified, the current working directory will be used as the repo. |
netOnly |
(optional) logical to specify whether only net additions/modifications should be reported. Set to TRUE by default |
Matrix of summary statistics for word counts
1 2 3 4 5 | word_stats()
word_stats(date="2015-01-01")
word_stats(date="2015-01-01",repo="~/repositories/project/")
word_stats(date=c("2015-01-01","2015-02-20"))
word_stats(date=c("2015-01-01","2015-02-20"),repo="~/repositories/project/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.