Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As seen on Google BigQuery, language doesn't seem to be populated #156

Closed
abeburnett opened this issue Dec 16, 2016 · 1 comment
Closed

Comments

@abeburnett
Copy link

Running the following BigQuery query reveals that from January 1, 2015 until April 30, 2015 every single record had language = null. Is this a source data issue, or a BigQuery issue?

SELECT year, language, name_count
FROM(
  SELECT LEFT(STRING(created_at), 4) as year, json_extract(payload, "$['forkee.language']") AS language, count(DISTINCT repo.name) AS name_count
  FROM (TABLE_DATE_RANGE([githubarchive:day.], 
      TIMESTAMP('2015-01-01'), 
      TIMESTAMP('2015-04-31')
    ))
    GROUP BY year, language
    )
ORDER BY year, name_count DESC
@igrigorik
Copy link
Owner

Source data issue.. unfortunately. Also, starting Jan 2016 we switched to the new events endpoint which, unfortunately, doesn't provide language data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants