RandomFractals / chicago-crimes

Exploring Chicago crimes dataset with Jupyter notebooks, DuckDB, Malloy and new Panel/PyScript data and dashboard tools.
GNU Affero General Public License v3.0
39 stars 4 forks source link

Add Chicago Crimes DuckDB SQL Magic Jupyter notebook example #16

Closed RandomFractals closed 2 years ago

RandomFractals commented 2 years ago

Inspired by this post on using DuckDB with sql magics in Jupyter notebooks, written by @rmoff:

https://rmoff.net/2022/10/14/current-22-session-analysis-with-duckdb-and-jupyter-notebook/

Gist: https://gist.github.com/rmoff/e5cd6e04fc54e592fc4c232863252607

More info about this Jupyter notebook setup from the official duckDB docs:

https://duckdb.org/docs/guides/python/jupyter

RandomFractals commented 2 years ago

Prelim. setup and notebook run results:

chicago-crimes-sqlmagic

RandomFractals commented 2 years ago

see new section in docs: https://github.com/RandomFractals/chicago-crimes#with-duckdb-sqlmagic