数据来源地址

十大年度语言(创建分支最多)

BigQuery 语句:

SELECT repository_language, count(repository_language) AS repos_by_lang

FROM [githubarchive:github.timeline]

WHERE repository_fork == "false"

AND type == "CreateEvent"

AND PARSE_UTC_USEC(repository_created_at) >= PARSE_UTC_USEC('2013-01-01 00:00:00')

AND PARSE_UTC_USEC(repository_created_at) < PARSE_UTC_USEC('2014-01-01 00:00:00')

GROUP BY repository_language

ORDER BY repos_by_lang DESC

LIMIT 10

结果:

Rowrepository_languagerepos_by_lang
1JavaScript533305
2Ruby407542
3Java330398
4PHP257410
5Python212241
6C++155147
7C138488
8CSS121684
9Objective-C72993
10C#70520

从上面可以看出:

  • Web开发活跃度更高
  • Ruby的开发者比较勤奋