{"action":"created","issue":{"url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/8","labels_url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/8/comments","events_url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/8/events","html_url":"https://github.com/CulturedCheese/thesis-project/issues/8","id":57512228,"number":8,"title":"Get sample data from BigQuery","user":{"login":"ClimbsRocks","id":7017045,"avatar_url":"https://avatars.githubusercontent.com/u/7017045?v=3","gravatar_id":"","url":"https://api.github.com/users/ClimbsRocks","html_url":"https://github.com/ClimbsRocks","followers_url":"https://api.github.com/users/ClimbsRocks/followers","following_url":"https://api.github.com/users/ClimbsRocks/following{/other_user}","gists_url":"https://api.github.com/users/ClimbsRocks/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimbsRocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimbsRocks/subscriptions","organizations_url":"https://api.github.com/users/ClimbsRocks/orgs","repos_url":"https://api.github.com/users/ClimbsRocks/repos","events_url":"https://api.github.com/users/ClimbsRocks/events{/privacy}","received_events_url":"https://api.github.com/users/ClimbsRocks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T20:06:34Z","updated_at":"2015-02-12T23:31:51Z","closed_at":null,"body":"A list of repos by language for the month of January. Aggregated to the country level if possible. Definitely aggregated to the location level. "},"comment":{"url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/comments/74176481","html_url":"https://github.com/CulturedCheese/thesis-project/issues/8#issuecomment-74176481","issue_url":"https://api.github.com/repos/CulturedCheese/thesis-project/issues/8","id":74176481,"user":{"login":"ClimbsRocks","id":7017045,"avatar_url":"https://avatars.githubusercontent.com/u/7017045?v=3","gravatar_id":"","url":"https://api.github.com/users/ClimbsRocks","html_url":"https://github.com/ClimbsRocks","followers_url":"https://api.github.com/users/ClimbsRocks/followers","following_url":"https://api.github.com/users/ClimbsRocks/following{/other_user}","gists_url":"https://api.github.com/users/ClimbsRocks/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimbsRocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimbsRocks/subscriptions","organizations_url":"https://api.github.com/users/ClimbsRocks/orgs","repos_url":"https://api.github.com/users/ClimbsRocks/repos","events_url":"https://api.github.com/users/ClimbsRocks/events{/privacy}","received_events_url":"https://api.github.com/users/ClimbsRocks/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T23:31:51Z","updated_at":"2015-02-12T23:31:51Z","body":"Here's the sample query. Saving here because BigQuery is non-responsive. \r\n\r\nselect \r\n  repository_url,\r\n  repository_language,\r\n  actor_attributes_login,\r\n  actor_attributes_location\r\nfrom [githubarchive:month.201412]\r\nwhere\r\n    (\r\n      type = 'PushEvent'\r\n      OR type = 'ForkEvent'\r\n      OR (type = 'IssuesEvent' AND (payload_action=\"opened\" OR payload_action==\"reopened\"))\r\n      OR (type = 'CreateEvent' AND payload_ref_type=\"repository\")\r\n      OR type = 'WatchEvent'\r\n    )\r\n    AND repository_language !=''\r\n    AND repository_url != ''\r\ngroup by \r\n  repository_url,\r\n  repository_language,\r\n  actor_attributes_login,\r\n  actor_attributes_location"}}