From 8fd4d856c24cfff487e67238194ecc33a01c97ce Mon Sep 17 00:00:00 2001 From: Matan Hakim Date: Wed, 26 Oct 2022 01:39:28 +0300 Subject: [PATCH] Update functions.qmd (#1112) Fixed a minor repetition --- functions.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.qmd b/functions.qmd index 16a1354..de7516d 100644 --- a/functions.qmd +++ b/functions.qmd @@ -532,7 +532,7 @@ flights |> unique_where(tailnum == "N14228", month) Here we embrace `condition` because it's passed to `filter()` and `var` because its passed to `distinct()`, `arrange()`, and `pull()`. We've made all these examples take a data frame as the first argument, but if you're working repeatedly with the same data, it can make sense to hardcode it. -For example, the following function always works with the flights dataset and always selects `time_hour`, `carrier`, and `flight` since they are form the compound primary key that allows you to identify a row. +For example, the following function always works with the flights dataset and always selects `time_hour`, `carrier`, and `flight` since they form the compound primary key that allows you to identify a row. ```{r} flights_sub <- function(rows, cols) {