Skip to content

Instantly share code, notes, and snippets.

@rthbound
Forked from igrigorik/github-ruby.sql
Last active December 25, 2015 19:39
Show Gist options
  • Save rthbound/7028851 to your computer and use it in GitHub Desktop.
Save rthbound/7028851 to your computer and use it in GitHub Desktop.
bq --query 'SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url
FROM [githubarchive:github.timeline]
WHERE type="PushEvent"
AND repository_language="Ruby"
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC("2012-04-01 00:00:00")
GROUP BY repository_name, repository_description, repository_url
ORDER BY pushes DESC
LIMIT 100'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment