{"id":15440219,"url":"https://github.com/trieloff/stackoverflow-bigqueries","last_synced_at":"2026-04-19T16:37:23.608Z","repository":{"id":66881118,"uuid":"77047052","full_name":"trieloff/stackoverflow-bigqueries","owner":"trieloff","description":"Example queries on the Stackoverflow data set","archived":false,"fork":false,"pushed_at":"2017-04-07T10:08:29.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-19T10:43:02.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trieloff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-21T11:47:24.000Z","updated_at":"2020-11-25T06:19:19.000Z","dependencies_parsed_at":"2023-02-23T14:15:49.211Z","dependency_job_id":null,"html_url":"https://github.com/trieloff/stackoverflow-bigqueries","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"a8ba4f95c52d7695377a110015f4decab031dcad"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trieloff%2Fstackoverflow-bigqueries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trieloff%2Fstackoverflow-bigqueries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trieloff%2Fstackoverflow-bigqueries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trieloff%2Fstackoverflow-bigqueries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trieloff","download_url":"https://codeload.github.com/trieloff/stackoverflow-bigqueries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243267181,"owners_count":20263798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T19:11:30.673Z","updated_at":"2025-12-26T17:03:13.812Z","avatar_url":"https://github.com/trieloff.png","language":"Shell","readme":"# Prerequisites\n\nInstall Google Cloud SDK: https://cloud.google.com/sdk/docs/\n\n# Running the query\n\n````\n$ bq query --format csv -n 10000 \u003c delay.sql| tee delay.csv\n````\n\n# Prepare for advanced queries\n\nYou need to add billing information to your account to save data. We are creating a temporary table that joins information about the question with information about the first response.\n\n````\n$ bq query --destination_table \"test.soquestions\" --replace  \u003c join.sql\n````\n\n# Building Sankey diagrams\n\n````\nbq query -n 10000 --format csv  \u003c devjourney.sql | grep -v tag  | grep -v \"between\" | sed -e \"s/\\(.*\\),before,\\(.*\\).*/+\\1 \\[\\2\\] cordova/\" | sed -e \"s/\\(.*\\),after,\\(.*\\).*/cordova \\[\\2\\] -\\1/\" | pbcopy\n````\n\nThen copy the result into Sankeymatic.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrieloff%2Fstackoverflow-bigqueries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrieloff%2Fstackoverflow-bigqueries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrieloff%2Fstackoverflow-bigqueries/lists"}