From 8efd88ab27d0ec70819110c9c1ba180a9c568fbe Mon Sep 17 00:00:00 2001 From: sibusiso16 Date: Sun, 5 Jun 2016 11:15:12 +0200 Subject: [PATCH] Update relational-data.Rmd Hi Hadwick. Thanks for putting this book together. I don't believe these a data frame called carrier and the example here is joining flights2 and airlines by the key carrier. --- relational-data.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational-data.Rmd b/relational-data.Rmd index 027f445..89386a8 100644 --- a/relational-data.Rmd +++ b/relational-data.Rmd @@ -154,7 +154,7 @@ Like `mutate()`, the join functions add variables to the right, so if you have a (When you're in RStudio, you can use `View()` to avoid this problem). -For example, imagine you want to add the full airline name to the `flights` data. You can combine the `airlines` and `carrier` data frames with `left_join()`: +For example, imagine you want to add the full airline name to the `flights2` data. You can combine the `airlines` and `flights2` data frames with `left_join()`: ```{r} flights2 %>%