26 lines
457 B
Plaintext
26 lines
457 B
Plaintext
# Data rectangling {#sec-rectangle-data}
|
|
|
|
```{r}
|
|
#| results: "asis"
|
|
#| echo: false
|
|
source("_common.R")
|
|
```
|
|
|
|
## Introduction
|
|
|
|
<!--# TO DO: Write introduction. -->
|
|
|
|
### Prerequisites
|
|
|
|
In this chapter we'll continue using tidyr, which also provides a bunch of tools to rectangle your datasets.
|
|
tidyr is a member of the core tidyverse.
|
|
|
|
```{r}
|
|
#| label: setup
|
|
#| message: false
|
|
|
|
library(tidyverse)
|
|
```
|
|
|
|
<!--# TO DO: Write chapter around unnest, hoist, etc. -->
|