This is a general tutorial aimed at finding interesting snippets of information from Flights data available in the nycflights13 package.
The dataset contains On-time data for all flights that departed NYC (i.e. JFK, LGA or EWR) in 2013 as per its description:
# First, install the package if you haven't already install.packages("nycflights13") library(nycflights13)library(data,table) flights <- data.table(nycflights13::flights) flights # Get descriptive information about the dataset describe(flights)
The output of the preceding code is as follows:
We can also get descriptive information on a ...