An exploration of R code and package on github, using the github search and repo apis
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache-repo Update caches Oct 30, 2013
cache Update caches Oct 30, 2013
.gitignore Initial commit Jul 25, 2013
1a-search.r
1b-repos.r Initial commit Jul 25, 2013
2-languages.r Initial commit Jul 25, 2013
2-packages.r Code to plot rstats repos over time Oct 30, 2013
LICENSE Add license Jul 25, 2013
README.md
github-repos-log.pdf Code to plot rstats repos over time Oct 30, 2013
github-repos.pdf Code to plot rstats repos over time Oct 30, 2013
r-on-github.Rproj Initial commit Jul 25, 2013
repos.rds Update repos cache Oct 30, 2013
requests.r Initial commit Jul 25, 2013

README.md

R on github

This project uses githubs code and repository api to collect information about all github repositories that use R.

Getting the data

Getting all repo data is a two step process:

To update repos for the current month, source("1a-search.r"), then source("1b-repos.r"). You'll need to set your github user name and password into environment variables GITHUB_USER and GITHUB_PASS. All requests are appropriately throttled to stay within github's rate limits - this means that downloading all repo info from scratch will take a number of hours.

Exploring the data

If you just want to use the already cached data, see 2-languages.r and 2-packages.r for example exploratory analyses.