- Install the package - 'githubapistats' using the command install.packages("githubapistats")
- Load the package- library(githubapistats)
- Call the function 'git_stats' with repo name as the parameter. Ex: git_stats('numpy/numpy')
- Enter the login name for which you want to get the stats Ex: 'mattip'
- Enter '1' to get Additions, '2' to get Deletions, '3' for Commits, '4' to get data for all the three (Additions, Deletions, Commits) and '5' for None
- Press 'yes' to look at the visualization as well and 'no' if otherwise