{"id":25168477,"url":"https://github.com/alejandromeyer/eda-deutschebahn-data","last_synced_at":"2026-05-01T09:31:36.740Z","repository":{"id":201120090,"uuid":"707011693","full_name":"AlejandroMeyer/EDA-deutschebahn-data","owner":"AlejandroMeyer","description":"This project analyzes Deutsche Bahn train delays using SQL and Python. It explores delay percentages, identifying November 2016 as the most affected month. The repository includes SQL queries, an SSIS ETL process, and a Python notebook for data analysis.","archived":false,"fork":false,"pushed_at":"2025-02-04T09:31:08.000Z","size":6914,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T19:17:23.662Z","etag":null,"topics":["eda","python","sql","ssis-jobs"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlejandroMeyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-19T03:39:45.000Z","updated_at":"2025-02-05T11:44:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"efaabf32-c45c-4d3d-a82d-8365d7f67717","html_url":"https://github.com/AlejandroMeyer/EDA-deutschebahn-data","commit_stats":null,"previous_names":["alejandromeyer/eda_deutschebahn_data","alejandromeyer/eda-deutschebahn-data"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroMeyer%2FEDA-deutschebahn-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroMeyer%2FEDA-deutschebahn-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroMeyer%2FEDA-deutschebahn-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroMeyer%2FEDA-deutschebahn-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlejandroMeyer","download_url":"https://codeload.github.com/AlejandroMeyer/EDA-deutschebahn-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061889,"owners_count":20877176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["eda","python","sql","ssis-jobs"],"created_at":"2025-02-09T07:17:30.013Z","updated_at":"2026-05-01T09:31:36.707Z","avatar_url":"https://github.com/AlejandroMeyer.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EDA deutschebahn \n\n\nThe project consists of an analysis with train delay data, initially it was considered for a predictive analysis on the probability that a certain station or train had a delay, however, it is complicated since there are only 2 years of data, so it was decided to do only an exploratory analysis.\n\nThe main objective was to determine the percentages of train delays, with which it is concluded that for the year 2016 there were a total of 771621 trips, of which 59.58% had a delay of at least 1 minute, while 40.42% did not present any type of delay, being so that the most affected month was November.\nIn the same way, it was decided to show the ways in which this analysis can be done in SQL and Python.\n\nThe following can be found in the repository:\n\n* deutschebahn_real_trafic_data.dtsx: This is an SSIS where from a folder the deposited file is taken and inserted into a table in a database (using a Flat file source).\n\n* Zugfahrten_2016_12.zip: File downloaded from the official train website. \n\n* EDA_deutschbanh.sql: SQL analysis to determine % of trips that had a delay, find the month with the highest number of delays, etc.\n\n* ETL_process _B.sql: Queries used by the SSIS to insert data into the production table.\n\n* main.ipynb: Python code that replicates the queries made in SQL, in the same way as a connection to the database to read the table from SQL and not from the file.\n\nData consulted: https://data.deutschebahn.com/dataset/ist-verkehrsdaten-der-db-cargo-auf-bst8-ebene.html\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandromeyer%2Feda-deutschebahn-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandromeyer%2Feda-deutschebahn-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandromeyer%2Feda-deutschebahn-data/lists"}