Data laboratory for Punan ang Patlang project.
Using pap-datalab requires
- up-and-running instance of
pap-orchestratorcompose stack - installation of
poetry .envfile containing the following (this depends on your instance ofpap-orchestrator)clickhouse_usernameclickhouse_password
- Under the
pap-orchestrator's compose stack, navigate topap-clickhouse - In
pap-clickhouse's Web SQL UI (by default http://localhost:18123/), run all the SQL files undersql/database/. This will create databases separated by data source - Also in
pap-clickhouse's Web SQL UI, run all SQL files undersql/table/. This will create the initial set of tables with the specified schema under each database (but no data yet!)
- Run
poetry installin the repository's root folder to install all dependencies - Run all notebooks under
notebooks/
You should now have a sort of working database stack + data. You can now
- Use the Apache Superset Instance to:
- Explore your data (SQL Lab);
- Create charts (Charts);
- or create dashboards (Dashboard)
- Create new data generating notebooks