g_code_freq: Get weekly additions and deletions for a reop

Description Usage Arguments Value Examples

View source: R/g_code_freq.R

Description

Get the entire history of weekly totals of additions and deletions for a given repo.

Usage

1
  g_code_freq(userorg, repo)

Arguments

userorg

User or organization GitHub name.

repo

Repository name.

Value

A data frame with .

Examples

1
2
3
4
5
6
7
8
## Not run: 
require(ggplot2)
g_auth()
options(useragent='ropensci')
jekyll_cf <- g_code_freq("mojombo","jekyll")
ggplot(jekyll_cf,aes(x=week,y=log(additions+1)))+geom_point()+geom_path()+ylab("Weekly number of additions")

## End(Not run)

ropensci/gitr documentation built on May 27, 2019, 4:30 p.m.