For this problem, we will work with the flights data set in the nycflights13 package. Install and load the nycflights13

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

For this problem, we will work with the flights data set in the nycflights13 package. Install and load the nycflights13

Post by answerhappygod »

For This Problem We Will Work With The Flights Data Set In The Nycflights13 Package Install And Load The Nycflights13 1
For This Problem We Will Work With The Flights Data Set In The Nycflights13 Package Install And Load The Nycflights13 1 (122.92 KiB) Viewed 50 times
For this problem, we will work with the flights data set in the nycflights13 package. Install and load the nycflights13 package. Also make sure you load tidyverse in case you need it. library (nycflights13) library (tidyverse) 1. Provide a brief description of the data set and a few of the variables (use ?flights). Is flights a tibble? 2. Extract a tibble containing American Airlines (AA) flights to LAX that departed before 1030. Return only the columns month, day, dep_time, dest, and carrier. How many flights total fit these criteria? 3. Extract a tibble containing all flights on Christmas day; 12/25/2013. What is the total number of miles traveled across all flights on this day? 4. The air_time variable gives the duration of the flight in minutes. Create a tibble containing flights on Christmas day and only the variables month, day, origin, dest, and air_time_hour where the last variable gives the duration of the flight in hours.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply