Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, September 5, 2019

Codecademy Joining Tables in R Concatenate Data Frames 10/11


#Sample Solution
---
title: "Joining Tables in R"
output: html_notebook
---

```{r message = FALSE}
# load packages
library(readr)
library(dplyr)
```

```{r message = FALSE}
# load bakery and ice_cream data
bakery <- read_csv('bakery.csv')
ice_cream <- read_csv('ice_cream.csv')
```

```{r}
# inspect bakery and ice_cream
head(bakery)
head(ice_cream)
```

```{r}
# define menu here:
menu <- bakery %>% bind_rows(ice_cream)
menu
```

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts