knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

ghtraffic

The goal of ghtraffic is to access github traffic data using github api.

Installation

Development version from GitHub with:

# install.packages("devtools")
devtools::install_github("kvasilopoulos/ghtraffic")

Usage

Make sure you have the necessary setup with github user and token.

library(gh)
gh_whoami()

And the you can send the request to find the traffic data for the ghtraffic repo from the kvasilopoulos user.

library(ghtraffic)
repo_traffic("kvasilopoulos", "ghtraffic")

Next Steps

Build on infrastructure to be able to set up a tracker into the repo, in order to be able to track traffic data for more than 2 weeks.


Please note that the 'ghtraffic' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms



kvasilopoulos/ghtraffic documentation built on July 6, 2019, 12:06 a.m.