- Docker (
docker
) - DVC (
dvc
) - PostgreSQL client (
psql
) - DuckDB client (
duckdb
)
-
Copy
.env.template
to.env
and edit (note theDOCKER_POSTGRES_DATA_DIR
variable). -
Run the following to download the data:
dvc pull # or dvc repro
- Start the PostgreSQL server and restore the database dumps.
make docker-compose-up docker-load-data
make run-duckdb FILE=sql/mesh-coverage.duckdb.sql
# NOTE: `vd` is VisiData
make run-duckdb-csv FILE=sql/search-string-intervention.duckdb.sql | vd -f csv