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