{"id":23922597,"url":"https://github.com/datenhahn/rental-bike-analysis","last_synced_at":"2026-05-18T07:10:44.554Z","repository":{"id":215468876,"uuid":"618548713","full_name":"datenhahn/rental-bike-analysis","owner":"datenhahn","description":"Analyzes rental bike rides in munich from the year 2021","archived":false,"fork":false,"pushed_at":"2023-03-25T21:45:08.000Z","size":15818,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T22:28:13.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datenhahn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-24T17:57:04.000Z","updated_at":"2023-10-06T17:00:32.000Z","dependencies_parsed_at":"2024-01-04T16:44:04.168Z","dependency_job_id":null,"html_url":"https://github.com/datenhahn/rental-bike-analysis","commit_stats":null,"previous_names":["datenhahn/rental-bike-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datenhahn/rental-bike-analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datenhahn%2Frental-bike-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datenhahn%2Frental-bike-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datenhahn%2Frental-bike-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datenhahn%2Frental-bike-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datenhahn","download_url":"https://codeload.github.com/datenhahn/rental-bike-analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datenhahn%2Frental-bike-analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33168910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-05T17:15:07.200Z","updated_at":"2026-05-18T07:10:44.518Z","avatar_url":"https://github.com/datenhahn.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rental Bike Analysis\n\nThis repository analyzes rental bike rides in munich from the year 2021. For more information see the heading _Dataset \"Rides on the MVG bike\"_ below.\n\nIt is the accompanying repository to this blog post which discusses the findings: https://medium.com/@jonas.hahn/riding-the-data-wave-insights-into-munichs-bike-rental-trends-8330bc4e6c41\n\nThe data is prepared for analysis and the following questions are answered:\n\n* How long do people usually rent these bikes?\n* How far do they travel with them?\n* Do people often use them complementary to the other public transport?\n\n## Requirements\n\n* Python 3.7 (it was tested with this version, but probably new versions also work)\n\n### Libraries used\n\nThe following python libraries were used. (see `requirements.txt`)\n\n    jupyter==1.0.0\n    pandas==1.5.3\n    matplotlib==3.7.1\n    geopy==2.3.0\n    numpy==1.24.2\n    black==23.1.0\n    jupyter_black==0.3.3\n\n## File Description\n\n* `rental-bike-analysis.ipynb` : Jupyter Notebook containing the data analysis.  \n* `MVG_Rad_Fahrten_2021.zip` : 2021 MVG rental bike data (zipped).   \n\n\n\n## Getting started\n\n(Optional) Download the dataset. The dataset is shipped with the repository, so you can skip this step.\n\n    wget https://www.mvg.de/dam/mvg/services/mobile-services/mvg-rad/fahrten-csv/MVG_Rad_Fahrten_2021.zip\n\nUnzip the dataset.\n\n    unzip MVG_Rad_Fahrten_2021.zip\n\nInstall requirements.\n\n    pip install -r requirements.txt\n\nStart the jupyter notebook.\n\n    jupyter\n\nNow open in a browser: http://localhost:8888/notebooks/rental-bike-analysis.ipynb\n\n## Dataset \"Rides on the MVG bike\"\n\nhttps://opendata.muenchen.de/dataset/fahrten-mit-dem-mvg-rad\n\nThis data record includes anonymized raw data from trips with MVG bikes. The following data can be downloaded, viewed and evaluated for each bike rental:\n\n* Start date and time of the loan\n* End date and time of the loan\n* Loan start coordinates\n* Coordinates rental end\n* Rental start station-based or free-floating\n* Possibly station name\n* Rental end station based or free floating\n* Possibly station name\n\nThe data is always provided for an entire year. The upload takes place with a certain time lag of about 5-6 months, so that the data is available in May or June of the following year.\n\n## License\n\nAll code written in this repo is under the Apache License Version 2.0.\n\nThe data is under the Datenlizenz Deutschland – Namensnennung – Version 2.0 https://www.govdata.de/dl-de/by-2-0 .\n\nDatenquelle: dl-de/by-2-0: Landeshauptstadt München – opendata.muenchen.de\n\nhttps://opendata.muenchen.de/pages/nutzungsbedingungen","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatenhahn%2Frental-bike-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatenhahn%2Frental-bike-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatenhahn%2Frental-bike-analysis/lists"}