https://github.com/ryu1kn/sandbox--data-modelling
https://github.com/ryu1kn/sandbox--data-modelling
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryu1kn/sandbox--data-modelling
- Owner: ryu1kn
- Created: 2024-10-19T00:53:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T10:30:59.000Z (about 1 year ago)
- Last Synced: 2026-01-19T21:10:00.241Z (5 months ago)
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sandbox: Data modelling
## Prerequisites
* [mise](https://mise.jdx.dev/)
## Project structure
```mermaid
---
title: Node with text
---
flowchart LR
n1["sandbox__data_modelling\n(Main project. Root directory)"]
n2["macro_lib\n(Under /macro-lib)"]
n3["macro_test\n(Under /macro-test)"]
n1 -- use --> n2
n3 -- test --> n2
```
## Setup
```sh
mise install
uv sync
# Install macro-lib as a package to the main project and the test project.
dbt deps
dbt deps --project-dir macro-test
```
## Usage
```sh
dbt build
```
## Test macros
```sh
dbt test --project-dir macro-test
```
## Scenarios
Subprojects (we call them scenarios) have their directories prefixed with `sce_N__` (abbreviation for "scenario N").
For more details, refer to each scenario's [docs](/docs).