Bring back wrangle

This commit is contained in:
Hadley Wickham 2022-06-06 08:39:58 -05:00
parent 64ff6efee5
commit 0920f5da6a
2 changed files with 6 additions and 10 deletions

View File

@ -68,14 +68,10 @@ book:
- import-rectangular.qmd
- import-spreadsheets.qmd
- import-databases.qmd
- rectangle.qmd
- import-webscrape.qmd
- import-other.qmd
- part: tidy.qmd
chapters:
- list-columns.qmd
- rectangle.qmd
- part: program.qmd
chapters:
- functions.qmd

View File

@ -1,4 +1,4 @@
# Import {#sec-import-intro .unnumbered}
# Wrangle {#sec-import-intro .unnumbered}
```{r}
#| results: "asis"
@ -6,10 +6,11 @@
source("_common.R")
```
In this part of the book, you'll learn how to get your into R.
We'll focus on plain-text rectangular formats, spreadsheets, databases, and web data.
In this part of the book, you\'ll learn about data wrangling, the art of getting your data into R in a useful form for visualisation and modelling.
Data wrangling is very important: without it you can\'t work with your own data!
Wrangle encompasses three parts of the data science flow: importing, tidying, and transforming.
<!--# TO DO: Decide if a diagram is needed, see wrangle-intro for reference. -->
![](diagrams/data-science-wrangle.png)
This part of the book proceeds as follows:
@ -18,7 +19,6 @@ This part of the book proceeds as follows:
- In [Chapter -@sec-import-spreadsheets], you'll learn how to get data from Excel spreadsheets and Google Sheets into R.
- In [Chapter -@sec-import-databases], you'll learn about getting data into R from databases.
<!--# TO DO: List which types of databases. -->
- In [Chapter -@sec-import-webscrape], you'll learn about harvesting data off the web and getting it into R.