{"repo":"piebro/deutsche-bahn-statistics","free":true,"listed":false,"github":"https://github.com/piebro/deutsche-bahn-statistics","clone":"git clone https://github.com/piebro/deutsche-bahn-statistics.git","description":"A Deutsche Bahn statistics website (in German) with plots and tables about train delays, connections, and other railway metrics.","language":"HTML","stars":10,"topics":["data-visualization","deutsche-bahn","germany","statistics"],"license":"MIT","category":"analytics","readme_excerpt":"Deutsche Bahn Statistics Note: This project has been sunset and is replaced by deutsche-bahn-data, which now also has the statistics website at: piebro.github.io/deutsche-bahn-data. Deutsche Bahn Statistics is a (German) website with plots and tables about the Deutsche Bahn together with Python code to create them. The statistics are automatically updated monthly and use publicly available data. The data is available in a separate repo here: https://github.com/piebro/deutsche-bahn-data. Develop Setup 1. Clone the repository: 2. Install the required dependencies in a virtual environment using uv: 3. Download the data files: 4. Host the website locally: Update Statistics Manually Add a new Question Do it manually and copy the folder structure of the previous question. An overview of the dataset with its columns can be found in the data repository. Update all the generated parts of index.html using the following script, after adding a new question. Use ruff check and ruff format to lint and format the Python code before committing new code. Related Deutsche Bahn and Open Data Websites There are a few other projects that look at similar data. - Video: BahnMining - Pünktlichkeit ist eine Zier (David Kriesel) [2019] - www.deutschebahn.com: official statistics from Deutsche Bahn - bahn.expert: look at the departure monitor of train stations in real time - next.bahnvorhersage.de: a tool to calculate the probability that a train connection works using historical data - www.zugfinder.n","default_branch":null,"files":null,"tree":[],"storefront":"/r/piebro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piebro/deutsche-bahn-statistics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}