Skip to content

Commit

Permalink
Update relational-data.Rmd
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sibusiso16 committed Jun 5, 2016
1 parent ad34770 commit 8efd88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relational-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>%
Expand Down

0 comments on commit 8efd88a

Please sign in to comment.