├── .devcontainer └── devcontainer.json ├── .github ├── CODEOWNERS ├── static │ ├── codespaces-setup-screen.png │ ├── open-codespace.gif │ └── use-template.gif └── workflows │ ├── ci.yml │ └── metrics_ci.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .sqlfluff ├── .sqlfluffignore ├── .user.yml ├── .vscode ├── extensions.json └── settings.json ├── README.md ├── Taskfile.yml ├── analyses └── .gitkeep ├── dbt_project.yml ├── jaffle-data ├── raw_customers.csv ├── raw_items.csv ├── raw_orders.csv ├── raw_products.csv ├── raw_stores.csv └── raw_supplies.csv ├── macros ├── .gitkeep └── cents_to_dollars.sql ├── meltano.yml ├── models ├── marts │ ├── _models.yml │ ├── customer360 │ │ ├── customers.sql │ │ ├── customers.yml │ │ ├── order_items.sql │ │ ├── order_items.yml │ │ ├── orders.sql │ │ └── orders.yml │ └── time_spine.sql └── staging │ ├── __sources.yml │ ├── stg_customers.sql │ ├── stg_customers.yml │ ├── stg_locations.sql │ ├── stg_locations.yml │ ├── stg_order_items.sql │ ├── stg_order_items.yml │ ├── stg_orders.sql │ ├── stg_orders.yml │ ├── stg_products.sql │ ├── stg_products.yml │ ├── stg_supplies.sql │ └── stg_supplies.yml ├── package-lock.yml ├── packages.yml ├── query_example.csv ├── reports ├── .evidence │ └── customization │ │ └── custom-formatting.json ├── .gitignore ├── README.md ├── package-lock.json ├── package.json └── pages │ ├── analysis │ └── seasonality-investigation.md │ ├── customers │ ├── [customer].md │ └── index.md │ ├── index.md │ └── stores │ ├── [city].md │ └── index.md ├── requirements.txt └── tests └── .gitkeep /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Owning team for this repo 2 | * @dbt-labs/semantic-layer 3 | -------------------------------------------------------------------------------- /.github/static/codespaces-setup-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.github/static/codespaces-setup-screen.png -------------------------------------------------------------------------------- /.github/static/open-codespace.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.github/static/open-codespace.gif -------------------------------------------------------------------------------- /.github/static/use-template.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.github/static/use-template.gif -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/metrics_ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.github/workflows/metrics_ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.sqlfluff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.sqlfluff -------------------------------------------------------------------------------- /.sqlfluffignore: -------------------------------------------------------------------------------- 1 | reports 2 | target 3 | dbt_packages 4 | macros 5 | -------------------------------------------------------------------------------- /.user.yml: -------------------------------------------------------------------------------- 1 | id: bdc35ce7-c9bf-45be-b2f9-897ab7918ef8 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/README.md -------------------------------------------------------------------------------- /Taskfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/Taskfile.yml -------------------------------------------------------------------------------- /analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/dbt_project.yml -------------------------------------------------------------------------------- /jaffle-data/raw_customers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_customers.csv -------------------------------------------------------------------------------- /jaffle-data/raw_items.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_items.csv -------------------------------------------------------------------------------- /jaffle-data/raw_orders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_orders.csv -------------------------------------------------------------------------------- /jaffle-data/raw_products.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_products.csv -------------------------------------------------------------------------------- /jaffle-data/raw_stores.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_stores.csv -------------------------------------------------------------------------------- /jaffle-data/raw_supplies.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/jaffle-data/raw_supplies.csv -------------------------------------------------------------------------------- /macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /macros/cents_to_dollars.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/macros/cents_to_dollars.sql -------------------------------------------------------------------------------- /meltano.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/meltano.yml -------------------------------------------------------------------------------- /models/marts/_models.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/_models.yml -------------------------------------------------------------------------------- /models/marts/customer360/customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/customers.sql -------------------------------------------------------------------------------- /models/marts/customer360/customers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/customers.yml -------------------------------------------------------------------------------- /models/marts/customer360/order_items.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/order_items.sql -------------------------------------------------------------------------------- /models/marts/customer360/order_items.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/order_items.yml -------------------------------------------------------------------------------- /models/marts/customer360/orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/orders.sql -------------------------------------------------------------------------------- /models/marts/customer360/orders.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/customer360/orders.yml -------------------------------------------------------------------------------- /models/marts/time_spine.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/marts/time_spine.sql -------------------------------------------------------------------------------- /models/staging/__sources.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/__sources.yml -------------------------------------------------------------------------------- /models/staging/stg_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_customers.sql -------------------------------------------------------------------------------- /models/staging/stg_customers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_customers.yml -------------------------------------------------------------------------------- /models/staging/stg_locations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_locations.sql -------------------------------------------------------------------------------- /models/staging/stg_locations.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_locations.yml -------------------------------------------------------------------------------- /models/staging/stg_order_items.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_order_items.sql -------------------------------------------------------------------------------- /models/staging/stg_order_items.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_order_items.yml -------------------------------------------------------------------------------- /models/staging/stg_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_orders.sql -------------------------------------------------------------------------------- /models/staging/stg_orders.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_orders.yml -------------------------------------------------------------------------------- /models/staging/stg_products.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_products.sql -------------------------------------------------------------------------------- /models/staging/stg_products.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_products.yml -------------------------------------------------------------------------------- /models/staging/stg_supplies.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_supplies.sql -------------------------------------------------------------------------------- /models/staging/stg_supplies.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/models/staging/stg_supplies.yml -------------------------------------------------------------------------------- /package-lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/package-lock.yml -------------------------------------------------------------------------------- /packages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/packages.yml -------------------------------------------------------------------------------- /query_example.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/query_example.csv -------------------------------------------------------------------------------- /reports/.evidence/customization/custom-formatting.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/.evidence/customization/custom-formatting.json -------------------------------------------------------------------------------- /reports/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/.gitignore -------------------------------------------------------------------------------- /reports/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/README.md -------------------------------------------------------------------------------- /reports/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/package-lock.json -------------------------------------------------------------------------------- /reports/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/package.json -------------------------------------------------------------------------------- /reports/pages/analysis/seasonality-investigation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/analysis/seasonality-investigation.md -------------------------------------------------------------------------------- /reports/pages/customers/[customer].md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/customers/[customer].md -------------------------------------------------------------------------------- /reports/pages/customers/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/customers/index.md -------------------------------------------------------------------------------- /reports/pages/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/index.md -------------------------------------------------------------------------------- /reports/pages/stores/[city].md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/stores/[city].md -------------------------------------------------------------------------------- /reports/pages/stores/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/reports/pages/stores/index.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/jaffle-sl-template/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------