Move exercise to better location #514
This commit is contained in:
parent
25b1f7fb1c
commit
74a480e5d6
|
@ -831,10 +831,6 @@ daily %>%
|
||||||
effects of bad airports vs. bad carriers? Why/why not? (Hint: think about
|
effects of bad airports vs. bad carriers? Why/why not? (Hint: think about
|
||||||
`flights %>% group_by(carrier, dest) %>% summarise(n())`)
|
`flights %>% group_by(carrier, dest) %>% summarise(n())`)
|
||||||
|
|
||||||
1. For each plane, count the number of flights before the first delay
|
|
||||||
of greater than 1 hour. (Hint: read about cummulative window functions and
|
|
||||||
see how their negations work, `vignette("window-functions")`)
|
|
||||||
|
|
||||||
1. What does the `sort` argument to `count()` do. When might you use it?
|
1. What does the `sort` argument to `count()` do. When might you use it?
|
||||||
|
|
||||||
## Grouped mutates (and filters)
|
## Grouped mutates (and filters)
|
||||||
|
@ -896,3 +892,6 @@ Functions that work most naturally in grouped mutates and filters are known as
|
||||||
|
|
||||||
1. Find all destinations that are flown by at least two carriers. Use that
|
1. Find all destinations that are flown by at least two carriers. Use that
|
||||||
information to rank the carriers.
|
information to rank the carriers.
|
||||||
|
|
||||||
|
1. For each plane, count the number of flights before the first delay
|
||||||
|
of greater than 1 hour.
|
||||||
|
|
Loading…
Reference in New Issue