diff --git a/datetimes.qmd b/datetimes.qmd index c58c2c1..32ad728 100644 --- a/datetimes.qmd +++ b/datetimes.qmd @@ -35,7 +35,7 @@ We'll conclude with a brief discussion of the additional challenges posed by tim ### Prerequisites This chapter will focus on the **lubridate** package, which makes it easier to work with dates and times in R. -As of the latest tidyverse release, lubridate is part of core tidyverse so. +As of the latest tidyverse release, lubridate is part of core tidyverse. We will also need nycflights13 for practice data. ```{r} @@ -648,7 +648,7 @@ Now all of our flights obey the laws of physics. ```{r} flights_dt |> - filter(overnight, arr_time < dep_time) + filter(arr_time < dep_time) ``` ### Intervals {#sec-intervals}