Skip to content

Commit 8caaec4

Browse files
authored
Add test for flight duration
1 parent 4d95950 commit 8caaec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analysis/1-pressure.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if (debug) {
7979
duration = difftime(end, start, units = "hours"),
8080
next_flight_duration = difftime(lead(start), end, units = "hours")
8181
) %>%
82-
filter(duration < 3) %>%
82+
filter(duration < 3 & next_flight_duration <= 1) %>%
8383
arrange(duration)
8484

8585

0 commit comments

Comments
 (0)