This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Fetch data from GitHub Archive using Google's BigQuery */ | |
select actor, repository_language, count(repository_language) as pushes | |
from [githubarchive:github.timeline] | |
where type='PushEvent' | |
and repository_language != '' | |
and PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-01-01 00:00:00') | |
and PARSE_UTC_USEC(created_at) < PARSE_UTC_USEC('2013-01-01 00:00:00') | |
group by actor, repository_language; |