{ "info": { "author": "Tianyi Li", "author_email": "tianyikillua@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Statistical analysis of incident probability and causes on RATP metro lines\n\n*Trafic perturb\u00e9*...again?! This library and this [notebook ](https://github.com/tianyikillua/ratpmetro/blob/master/examples/notebook.ipynb) provides a statistical point of view for all these daily incidents occurred on the Paris RATP metro lines.\n\n\n\nUsing tweets coming from official RATP Twitter accounts ([@Ligne1_RATP](https://twitter.com/Ligne1_RATP) for line 1 for example), we will see\n\n1. What is the probability of encountering some operational incidents on a particular line?\n2. Which lines are more likely to cause everybody unhappy?\n3. What are the main causes of these problems?\n4. Should I be considered lucky if I never take metros during rush hours?\n5. Are there less problems during weekends?\n6. Instead of going on vacation, is there any reason to be happy if I still work in August?\n\n### Some examples in the year 2018\n\nThe fist two examples below refer to the RATP metro line 2, which I take everyday for work.\n\n#### I should leave work before 17:00 on Wednesday (or after 21:00)\n\nIn the figure below you can see the probability of catching an operational incident (*trafic perturb\u00e9*, *interrompu*...) at a given hour (in fact in the next following hour) and a specific weekday. The maximum value (nearly 9%) can be found on Wednesday at the evening rush hours.\n\n\n\n#### It's us the main responsible for these incidents\n\nNearly half (48%) of the incidents come from us. Also, 9% is due to unattended bags...\n\n\n\n#### Line 13 should be jealous of line 4\n\nEvery Parisian knows that the line 13 is bad. But in the year 2018 it was beaten by the line 4, which records an average probability of incidents larger than 4%.\n\n\n\n### License\n\nThe code is licensed under the terms of the MIT license. The analysis results (text, figures, tables) are licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).\n\n### Author\n\n[Tianyi Li](https://www.linkedin.com/in/tianyikillua) ([tianyikillua@gmail.com](mailto:tianyikillua@gmail.com))\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tianyikillua/ratpmetro", "keywords": "", "license": "License :: OSI Approved :: MIT License", "maintainer": "", "maintainer_email": "", "name": "ratpmetro", "package_url": "https://pypi.org/project/ratpmetro/", "platform": "", "project_url": "https://pypi.org/project/ratpmetro/", "project_urls": { "Homepage": "https://github.com/tianyikillua/ratpmetro" }, "release_url": "https://pypi.org/project/ratpmetro/0.0.2/", "requires_dist": [ "pandas", "numpy", "tweepy", "matplotlib" ], "requires_python": "", "summary": "Incident analysis of Paris RATP metro lines", "version": "0.0.2" }, "last_serial": 5531472, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "803d69390b38b3a8f5542032a9e138d6", "sha256": "c834148074f84d927d8a5d0bfb9743178a6ebcd89cf0bd57db9b80e2292c14c8" }, "downloads": -1, "filename": "ratpmetro-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "803d69390b38b3a8f5542032a9e138d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8752, "upload_time": "2019-06-29T15:20:05", "url": "https://files.pythonhosted.org/packages/af/4a/c1692078529db0d4653ce549007054ac8fe754ea4cd7a1029cf51dcbbaa8/ratpmetro-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f088f065d01a85ab9216da75d8bcdeb5", "sha256": "a39981f8dc14500941988e82708ef47f0d083cb53a273ac68481c67bea2fd31c" }, "downloads": -1, "filename": "ratpmetro-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f088f065d01a85ab9216da75d8bcdeb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7428, "upload_time": "2019-06-29T15:20:07", "url": "https://files.pythonhosted.org/packages/1a/ef/c4caf64e38f7e92aaf0964605cd75b22972a207e3773d2571a223e8a3a40/ratpmetro-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "96bfbef5d98a24975df0aa5e9a834d1a", "sha256": "bd69defccb3d97fd8249f80e14a80e106d79c3c6db8e9b9e66aadc05e5bcec8d" }, "downloads": -1, "filename": "ratpmetro-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "96bfbef5d98a24975df0aa5e9a834d1a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8531, "upload_time": "2019-07-14T16:33:24", "url": "https://files.pythonhosted.org/packages/84/7d/8cc57fdebd3352b4e993e62c60b55d5e93204c590ab998c195110fad7164/ratpmetro-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a295fce84f8209006b548c22ad5f8cfe", "sha256": "e6d3d3467e40c04354c56d399d59e8578e1206265aa0b93b070d0e7e8390ac5b" }, "downloads": -1, "filename": "ratpmetro-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a295fce84f8209006b548c22ad5f8cfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7217, "upload_time": "2019-07-14T16:33:25", "url": "https://files.pythonhosted.org/packages/45/01/1d8f9bd60737aa163f002249800e63868c0cc78696c6fbe66163e34db0cb/ratpmetro-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "96bfbef5d98a24975df0aa5e9a834d1a", "sha256": "bd69defccb3d97fd8249f80e14a80e106d79c3c6db8e9b9e66aadc05e5bcec8d" }, "downloads": -1, "filename": "ratpmetro-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "96bfbef5d98a24975df0aa5e9a834d1a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8531, "upload_time": "2019-07-14T16:33:24", "url": "https://files.pythonhosted.org/packages/84/7d/8cc57fdebd3352b4e993e62c60b55d5e93204c590ab998c195110fad7164/ratpmetro-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a295fce84f8209006b548c22ad5f8cfe", "sha256": "e6d3d3467e40c04354c56d399d59e8578e1206265aa0b93b070d0e7e8390ac5b" }, "downloads": -1, "filename": "ratpmetro-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a295fce84f8209006b548c22ad5f8cfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7217, "upload_time": "2019-07-14T16:33:25", "url": "https://files.pythonhosted.org/packages/45/01/1d8f9bd60737aa163f002249800e63868c0cc78696c6fbe66163e34db0cb/ratpmetro-0.0.2.tar.gz" } ] }