From 5caf0a47dfb978bac501a7aed72d2912566e4109 Mon Sep 17 00:00:00 2001 From: mine-cetinkaya-rundel Date: Wed, 12 Apr 2023 20:57:01 -0400 Subject: [PATCH] Fix typo + clarify, closes #1422 --- datetimes.qmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/datetimes.qmd b/datetimes.qmd index 6a3ccf1..4f8039e 100644 --- a/datetimes.qmd +++ b/datetimes.qmd @@ -108,7 +108,7 @@ Table @tbl-date-formats lists all the options. | | `%y` | 2 digit year | 21 | | Month | `%m` | Number | 2 | | | `%b` | Abbreviated name | Feb | -| | `%B` | Full name | Februrary | +| | `%B` | Full name | February | | Day | `%d` | Two digits | 02 | | | `%e` | One or two digits | 2 | | Time | `%H` | 24-hour hour | 13 | @@ -232,7 +232,7 @@ With this data, we can visualize the distribution of departure times across the #| is binned by day so you see a time series of flights by day. The #| pattern is dominated by a weekly pattern; there are fewer flights #| on weekends. The are few days that stand out as having a surprisingly -#| few flights in early Februrary, early July, late November, and late +#| few flights in early February, early July, late November, and late #| December. flights_dt |> ggplot(aes(x = dep_time)) + @@ -345,8 +345,8 @@ flights_dt |> geom_bar() ``` -There's an interesting pattern if we look at the average departure delay by minute within the hour. -It looks like flights leaving in minutes 20-30 and 50-60 have much lower delays than the rest of the hour! +We can also look at the average departure delay by minute within the hour. +There's an interesting pattern: flights leaving in minutes 20-30 and 50-60 have much lower delays than the rest of the hour! ```{r} #| fig-alt: >