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
38 stars 4 forks source link

Use slim 2022 crimes csv gzip file to speed up data loading in PyScript web page example #36

Closed RandomFractals closed 1 year ago

RandomFractals commented 1 year ago
RandomFractals commented 1 year ago

This change speeds up PyScript web page loading by a few seconds as we are loading a much smaller CSV data file that is about 3.25MB on disk containing 215+K crime reports for 2022 and only columns we use to visualize that data.

See updated app and try it from docs: https://github.com/RandomFractals/chicago-crimes#with-pyscript