An exploration of R code and package on github, using the github search and repo apis
R
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache-repo
cache
.gitignore
1a-search.r
1b-repos.r
2-languages.r
2-packages.r
LICENSE
README.md
github-repos-log.pdf
github-repos.pdf
r-on-github.Rproj
repos.rds
requests.r

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.