Which month is busiest in terms of miles flown?
Hint: Compute the share of yearly miles flown of each airline in each month.
Compute the ground time for each airplane on any given day. Make sure that you add only positive numbers.
Hint: Use lag()
or lead()
.
Find more exercises in Section 5.7.1 of r4ds.
Copyright © 2018 Kirill Müller. Licensed under CC BY-NC 4.0.