An example of how to check data quality using DBT and DuckDB.
Install uv to create the virtual environment:
pip install uv
Create the virtual environment and activate it:
uv venv
source .venv/bin/activate
Install the dependencies:
uv pip install -r requirements.txt
Initialize the DBT project:
dbt init data_tests
Select duckdb as the database (option 1).
Move your profiles.yml file to the data_tests folder:
mv ~/.dbt/profiles.yml data_tests/