Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update public site

  • Loading branch information...
commit 97134f55cce5e15d8127108321f658dae2926523 1 parent 2f41e17
@igrigorik authored
View
BIN  web/assets/img/bigquery-directions.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
24 web/index.html
@@ -19,6 +19,10 @@
padding-top: 20px;
padding-bottom: 40px;
}
+ .large {
+ font-size:16px;
+ line-height:25px;
+ }
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
@@ -60,7 +64,7 @@ <h1 style="margin-bottom:0.5em">
<div class="row">
<div class="span12">
- <p style="font-size:16px; line-height:25px">GitHub provides <a href="http://developer.github.com/v3/events/types/">18 event types</a>, which range from new commits and fork events, to opening new tickets, commenting, and adding members to a project. The activity is aggregated in hourly archives, which you can access with any HTTP client:</p>
+ <p class="large">GitHub provides <a href="http://developer.github.com/v3/events/types/">18 event types</a>, which range from new commits and fork events, to opening new tickets, commenting, and adding members to a project. The activity is aggregated in hourly archives, which you can access with any HTTP client:</p>
<table class="table table-striped">
<thead>
@@ -88,9 +92,25 @@ <h1 style="margin-bottom:0.5em">
<p><em>Note: timeline data is available starting March 11, 2012.</em></p>
<br />
- <p style="font-size:16px; line-height:25px">Each archive contains a stream of JSON encoded GitHub events (<a href="https://gist.github.com/2017462">sample</a>), which you can process in any language. Ruby example:</p>
+ <p class="large">Each archive contains a stream of JSON encoded GitHub events (<a href="https://gist.github.com/2017462">sample</a>), which you can process in any language. Ruby example:</p>
<script src="https://gist.github.com/2017506.js"></script>
+ <p><em>Note: <a href="https://gist.github.com/2426614">example script to import data into SQLite db</a></em></p>
+
+ </div>
+ </div>
+
+ <hr />
+ <div class="row">
+ <div class="span12">
+ <p class="large">GitHub Archive dataset is also available via <a href="https://developers.google.com/bigquery/">Google BigQuery</a>. The JSON data is <a href="https://github.com/igrigorik/githubarchive.org/blob/master/bigquery/schema.js">normalized</a> and is updated every hour, allowing you to run <a href="https://developers.google.com/bigquery/docs/query-reference">arbitrary queries</a> and analysis over the entire dataset in seconds. To get started, login into the BigQuery console (<a href="https://bigquery.cloud.google.com/">bigquery.cloud.google.com</a>), and add the project (name: "<b>githubarchive</b>"):</p>
+
+ <div class="hero-unit" align="center" style="padding:10px">
+ <img src="assets/img/bigquery-directions.png" />
+ </div>
+
+ <p class="large">An example query, for more check the <a href="https://github.com/igrigorik/githubarchive.org/tree/master/bigquery">repository readme</a>:</p>
+ <script src="https://gist.github.com/2521371.js?file=github-ruby.sql"></script>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.