bixi_opendata / README.md
AntoineGiraud's picture
feat: add readme
1156696 verified
metadata
license: mit

Bixi's OpenData Modelisation

Here is a huggingface dataset refined with AntoineGiraud/dbt_bixi_opendata dbt-core project
that loads & transform bixi OpenData thanks to DuckDB πŸ¦†πŸš€

Viz' exploration ideas

I used Power BI to explore the transformed data offloaded to .parquet (~ 4.7 times lighter than .csv)

After the pandemic, Montrealers realy went back to bixi πŸ₯³

image/png

Data sources

Bixi Rentals OpenData (link)

  • 🚲 Rentals V1 : from 2014 to 2021

    for station info, join to station yearly file with station_code

  • β›½ Stations V1 : from 2014 to 2021

    1 station code per year

  • 🚲 Rentals V2 : from 2022 to 2024+

    start/end station info on each rentals
    -> 2.7 times heavier .csv 1.4Gb -> 0.5Gb
    -> 2.3 times heavier .parquet 250Mb -> 106Mb

GIS referential

  • 🧭 Municipal sectors : from the OD 2013 survey (cf. donnees quebec)

Schema/DB steps :

  • raw : raw tables loaded as is from .csv
  • stg : intermediate tables
  • dtm : tables ready for analytics & reporting use

image/png

Loading

DuckDB realy shines by it's speed & local OLAP capabilities 😎

Here is 🚲 v1 rentals (2014 - 2021) load & offload to .parquet

  • .csv is 4.5 times heavier than .parquet
  • .json is 2.7 times heavier than .csv

image/png