{"id":15632617,"url":"https://github.com/jamiew/helium-etl-queries","last_synced_at":"2025-11-09T08:04:23.450Z","repository":{"id":45046747,"uuid":"303408143","full_name":"jamiew/helium-etl-queries","owner":"jamiew","description":"A collection of SQL views used to enrich data produced by a Helium blockchain-etl","archived":false,"fork":false,"pushed_at":"2022-08-19T12:00:18.000Z","size":63,"stargazers_count":15,"open_issues_count":4,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-04T16:44:09.047Z","etag":null,"topics":["etl","helium","sql"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamiew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-12T13:54:38.000Z","updated_at":"2023-05-05T18:26:58.000Z","dependencies_parsed_at":"2022-09-22T16:42:28.457Z","dependency_job_id":null,"html_url":"https://github.com/jamiew/helium-etl-queries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamiew/helium-etl-queries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fhelium-etl-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fhelium-etl-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fhelium-etl-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fhelium-etl-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamiew","download_url":"https://codeload.github.com/jamiew/helium-etl-queries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fhelium-etl-queries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283475141,"owners_count":26841941,"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","status":"online","status_checked_at":"2025-11-09T02:00:05.828Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["etl","helium","sql"],"created_at":"2024-10-03T10:44:42.823Z","updated_at":"2025-11-09T08:04:23.416Z","avatar_url":"https://github.com/jamiew.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"helium-etl-queries\n==================\n\nA collection of SQL queries used to enrich data produced by a Helium [blockchain-etl](https://github.com/helium/blockchain-etl)\n\nThis repo is specifically trying to create and manage views that better surface the embedded JSON fields in a\nmore managable form, e.g. turning `transactions[type='state_channel_close']` =\u003e `data_credits` table, with properly typed columns\n\nA live instance with these views is avaialble on the beta DeWi ETL instance, which runs Metabase:\n\nhttps://etl.dewi.org\n\nIf you're interested in using it, please contact @jamiedubs/@wishplorer on Discord. There is auto signup available if using gmail.com email address with google signin.\n\nDocumentation available on: https://dbdocs.io/wishplorer/HeliumDewiETL\n\nSetup\n----\n\n- setup a blockchain-etl instance – this might take a while\n- load all the views from this repository:\n\n```\ndbname=\"etl\"\nfor i in views/*; do psql $dbname \u003c $i; done\n```\n\nOr load them one at a time etc.\n\nTODO\n----\n* More views: `challenges`, `consensus_groups`, `payments`, split out reward-types, etc\n* Get fancy and use [dbt](https://github.com/fishtown-analytics/dbt)\n\n\nContributing\n------------\n\n* Pull requests welcome\n* Ask questions in #hips or #blockchain-dev on Discord\n\nContributors\n------------\n\n* @\\~zav\\~\n* @jamiedubs ([@jamiew](https://github.com/jamiew/))\n* [@wishplorer](https://github.com/wishplorer)\n* [@GregKarabinos](GregKarabinos)\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fhelium-etl-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiew%2Fhelium-etl-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fhelium-etl-queries/lists"}