Analyzing Flight Data Using the nycflights23 Package : A Data Transformation Project in R
In this post, we will using data from the nycflights23 dataset which is package in R. So, let's take off into the data!
The nycflights23 package has several datasets included:
- flights : Flight details, delays, destinations
- airlines : Carrier codes and airline names
- airports : Airport locations
- weather : Hourly weather at NYC airports
- planes : Aircraft details
Once we have the data, we will start doing Data Transformation. We will mainly use dplyr packages for data transformation. dplyr is a package within the larger tidyverse collection of R packages. A package for data manipulation, offering functions for filtering, selecting, arranging, mutating, and summarizing data.
- Top 5 carriers in April 2023
- Top 5 destination in Y2023
- Top 5 delays airline
- Top 5 airlines with the most airplane
- Top longest flight by airline name and destination