add_word_counts_table: Adds word counts to a data.frame of commits.

Description Usage Arguments Value Examples

View source: R/add_word_counts_table.R

Description

Adds word counts to a data.frame of commits.

Usage

1
add_word_counts_table(commit.table, repo)

Arguments

commit.table

Data.frame of commits, produced by extract_commits.

repo

Character string giving the relative or absolute path to the git repository.

Value

Updated data.frame of commits with word counts as new columns.

Examples

1
2
a <- extract_commits(repo="~/repositories/project/")
a <- add_word_counts_table(a,repo="~/repositories/project/")

tcspears/gitwords documentation built on June 9, 2021, 1:34 a.m.