r4ds-exercise-solutions
r4ds-exercise-solutions copied to clipboard
Exercise 5.7.6
In trying to get the most delayed flights as a percentage of the fastest flight, the wrong columnt was used to arrange the data:
arrange(desc(air_time_delay)) %>%
the correct column should be arrange(desc(air_time_delay_pct)) %>%
to capture the required percentages.
Page link = https://jrnold.github.io/r4ds-exercise-solutions/transform.html on the last part of exercise 5.7.6
The resulting data displayed is wrong, doesn't show the percentages.