A data-driven project exploring how the COVID-19 pandemic impacted airline flight path demand. Using R, this project examines historical flight data, visualizes trends, and builds predictive models to better understand the changing landscape of air travel.
The COVID-19 pandemic drastically altered the demand for air travel, causing significant shifts in passenger behaviors and airline operations. This project focuses on:
- Analyzing flight path demand during the pandemic.
- Identifying trends in passenger travel across major routes.
- Predicting recovery patterns for the airline industry.
This analysis provides insights for airlines, policymakers, and travelers to adapt to the "new normal" in aviation.
- Exploratory Data Analysis (EDA): Visualize trends in flight frequency and demand.
- COVID-19 Impact Analysis: Evaluate changes in demand by geographic region and airline.
- Predictive Modeling: Use regression and time series models to forecast future flight demand.
- Interactive Visualizations: Build plots and dashboards to summarize findings.
This project utilizes the following datasets:
- Bureau of Transportation Statistics (BTS): Contains flight data and passenger counts.
- COVID-19 Data: Case trends and restrictions by region.
- OpenSky Network: Real-time flight tracking data.
To run this project locally, follow these steps:
- Clone this repository:
git clone https://github.com/Jchow2/R-airline-covid19.git cd R-airline-covid19
Transtats - United States Bureau of Transportation Statistics: https://www.transtats.bts.gov/
install.packages(c("tidyverse", "lubridate", "forecast", "ggplot2", "shiny"))
source("airline-covid.R")
Perform an exploratory analysis of the dataset to generate summary statistics and visualizations.
source("eda_airline_flight_demand.R")
This script outputs key metrics, trends, and visual summaries of the dataset, helping you understand passenger demand patterns.
Estimate future trends in passenger demand using predictive models.
source("airline_predict_passenger_demand.R")
This script uses time-series forecasting models to predict passenger trends for upcoming months based on historical data.
Explore the results interactively through a Shiny application.
shiny::runApp("shiny_app.R")
The dashboard provides a user-friendly interface to view predictions, analyze trends, and customize inputs for demand forecasting.
Key insights from the analysis include:
Significant declines in passenger demand on international routes during 2020, attributed to the pandemic's travel restrictions.
Domestic travel showed faster recovery rates in certain regions, likely influenced by localized policy changes and consumer behavior.
Predictive models indicate a gradual recovery in passenger demand, with projections suggesting near-normal levels by 2023. Regional variations highlight the importance of localized strategies for recovery.
Explore detailed visualizations and insights through the Shiny app, providing a user-friendly dashboard for demand analysis. Detailed results, visualizations, and outputs are available in the results directory.
This project is licensed under the MIT License.
Developed and maintained by Justin Chow. Feel free to connect on LinkedIn or reach out via email at jsjchow23@gmail.com.