{"id":16509242,"url":"https://github.com/fergm/flight_tables","last_synced_at":"2025-09-05T13:33:56.174Z","repository":{"id":40965019,"uuid":"162039901","full_name":"FergM/flight_tables","owner":"FergM","description":"Flight Tables lets you save public Arrivals and Departures infomation to a standardised csv file.","archived":false,"fork":false,"pushed_at":"2022-12-08T04:01:54.000Z","size":119,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T20:48:55.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FergM.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}},"created_at":"2018-12-16T20:51:10.000Z","updated_at":"2020-12-29T12:11:42.000Z","dependencies_parsed_at":"2023-01-25T04:16:15.493Z","dependency_job_id":null,"html_url":"https://github.com/FergM/flight_tables","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FergM%2Fflight_tables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FergM%2Fflight_tables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FergM%2Fflight_tables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FergM%2Fflight_tables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FergM","download_url":"https://codeload.github.com/FergM/flight_tables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"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":[],"created_at":"2024-10-11T15:49:28.189Z","updated_at":"2025-04-04T18:44:39.032Z","avatar_url":"https://github.com/FergM.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Broken Datasource Alert:\nThe default datasource no longer works.\n\nThe heathrow website has changed and `heathrow_parsing.py` is out of date.\n\nThe generic flight parsing could be useful for another airport. You would need to write something similar to `heathrow_parsing.py` for it.\n\n# Flight Tables: Arrivals and Departures Parsing Toolkit\n## What is It?\n\n**Flight Tables** lets you save public Arrivals and Departures infomation to a standardised CSV file.  \n\nCurrent version is for Heathrow Airport.\n\n## Installation\n```\n$ pip install flight_tables\n```\n\n## Command Line Execution\nSave yesterday's Arrivals and Departures to CSV:\n```\npython -m flight_tables.main\n```\nIf you want to specify a date, add \"yyyy-mm-dd\" to the command. It will only work for the past few days, where data is still available from the airport API.\n\n## Script Execution\nRun the script below, but replace \"yyyy-mm-dd\" with the date you want. It will only work for the past few days, where data is still available from the airport API.\n```         \nfrom flight_tables.flight_tables import FlightTables\n\n# Save Arrivals CSV\nFlightTables.arrivals_csv(\"yyyy-mm-dd\")\n\n# Save Departures CSV\nFlightTables.departures_csv(\"yyyy-mm-dd\")\n```\n\n## CSV Output Format\nThe output is a csv with these columns:\n\n| flight_id | origin | destination |   status  | scheduled_datetime |  actual_datetime | delay_mins | code_share |\n|:---------:|:------:|:-----------:|:---------:|:------------------:|:----------------:|:----------:|:----------:|\n|   BA028   |   HKG  |     LHR     |   Landed  |  03/04/2020 05:30  | 03/04/2020 05:39 |      9     |     No     |\n|   VA5341  |   HKG  |     LHR     |   Landed  |  03/04/2020 05:30  | 03/04/2020 05:29 |     -1     |  Alt-Code  |\n|   BA064   |   NBO  |     LHR     | Cancelled |  03/04/2020 06:20  |                  |            |  Main-Code |\n|    ...    |        |             |           |                    |                  |            |            |\n\nOutput is saved to your working directory.\n\n## Test Suite\nDocumentation [here](https://github.com/FergM/flight_tables/blob/master/docs/unit_tests.md)\n\n## Background:\nThe initial motivation was to analyse flight punctuality. When you google for this most results are not detailed enough to compare one flight ID against another.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffergm%2Fflight_tables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffergm%2Fflight_tables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffergm%2Fflight_tables/lists"}