{"id":31652204,"url":"https://github.com/bchaoss/trash-wheel-pipeline","last_synced_at":"2025-10-07T10:00:01.587Z","repository":{"id":316656469,"uuid":"1064148024","full_name":"bchaoss/trash-wheel-pipeline","owner":"bchaoss","description":"dbt data pipeline for analyzing trash wheel collection data","archived":false,"fork":false,"pushed_at":"2025-10-06T23:23:25.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T00:22:56.738Z","etag":null,"topics":["analytics-engineering","dbt","duckdb","elt","motherduck","sql","tidytuesday"],"latest_commit_sha":null,"homepage":"","language":null,"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/bchaoss.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-25T15:56:39.000Z","updated_at":"2025-10-06T23:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"160a88c7-1fb5-4c74-b5f0-cf0694048cef","html_url":"https://github.com/bchaoss/trash-wheel-pipeline","commit_stats":null,"previous_names":["bchaoss/trash-wheel-pipeline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bchaoss/trash-wheel-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchaoss%2Ftrash-wheel-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchaoss%2Ftrash-wheel-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchaoss%2Ftrash-wheel-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchaoss%2Ftrash-wheel-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bchaoss","download_url":"https://codeload.github.com/bchaoss/trash-wheel-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchaoss%2Ftrash-wheel-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278755165,"owners_count":26040034,"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-10-07T02:00:06.786Z","response_time":59,"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":["analytics-engineering","dbt","duckdb","elt","motherduck","sql","tidytuesday"],"created_at":"2025-10-07T09:59:58.230Z","updated_at":"2025-10-07T10:00:01.579Z","avatar_url":"https://github.com/bchaoss.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# trash-wheel-analysis\nA data pipeline for analyzing trash wheel collection data.\n\nData Source: [TidyTuesday | Trash Wheel Collection Data](https://github.com/rfordatascience/tidytuesday/blob/main/data/2024/2024-03-05/readme.md)\n\n[![DBT](https://img.shields.io/badge/DBT-orange?style=for-the-badge\u0026logo=dbt)](https://www.getdbt.com/)\n[![DuckDB](https://img.shields.io/badge/DuckDB-yellow?style=for-the-badge\u0026logo=duckdb)](https://duckdb.org/)\n[![MotherDuck](https://img.shields.io/badge/MotherDuck-green?style=for-the-badge\u0026logo=motherduck)](https://www.motherduck.com/)\n\n\u003cbr\u003e\n\n### Data Stack\n\n| Stack | Purpose (Modern \u0026 Open-source) |\n| :--- | :--- |\n| [dbt](https://www.getdbt.com/) | Generate data transformation pipeline (models, documentation, and tests) in SQL |\n| [DuckDB](https://duckdb.org/) | Analytical database engine |\n| [MotherDuck](https://www.motherduck.com/) | Cloud deployment for DuckDB (free plan available) |\n| [Evidence](https://github.com/evidence-dev/evidence?tab=readme-ov-file) | BI tool using SQL and Markdown |\n| [Github Action](https://docs.github.com/en/actions/get-started/understand-github-actions) | CI/CD (to run pipeline, deploy docs to [GitHub Page](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)) |\n\n\n### Structure\n\u003cpre\u003e\n.\n├── dbt_pipeline/\n│   ├── macros/\n│   ├── models/\n│   │   ├── ingest/\n│   │   ├── staging/\n│   │   └── mart/\n│   ├── seeds/\n│   ├── dbt_project.yml\n│   └── profiles.yml\n│\n├── evidence_BI/\n│\n├── .devcontainer/\n├── .github/workflows\n└── requirements.txt\n\u003c/pre\u003e\n\n### Docs \u0026 DAG\n\n**[dbt docs](https://bchaoss.github.io/trash-wheel-pipeline/pipeline/)** : shows SQL models info and structure.\n\n\u003cimg width=\"2355\" height=\"431\" alt=\"dbt-dag\" src=\"https://github.com/user-attachments/assets/0c0a2468-effd-4a65-97bf-c6aa5184b632\" /\u003e\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n###  Get start\n\n0\\. Clone the Repo\n\n1\\. Create MotherDuck account and set environment variable `MOTHERDUCK_TOKEN`\n\n2\\. Setup Environment\n\n| Option | Notes |\n| :--- | :--- |\n| **Local Machine** | Python 3 and `pip install -r requirements.txt` | \n| **Github Codespace** | Uses the `.devcontainer` to set up |\n\n3\\. Run the dbt Pipeline\n\n```bash\ncd dbt_pipeline\n\ndbt debug  # Verify connection\n\ndbt build  # Run the full pipeline (ingest -\u003e staging -\u003e mart) and tests\n```\n\n\u003cbr\u003e\n\n### TBD:\n- [x] test and build dbt\n- [ ] mart analysis table\n- [ ] incremental (ingest or refresh)\n- [x] github action\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbchaoss%2Ftrash-wheel-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbchaoss%2Ftrash-wheel-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbchaoss%2Ftrash-wheel-pipeline/lists"}