diff --git a/_quarto.yml b/_quarto.yml index c9a65bc..705c228 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -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 diff --git a/import.qmd b/import.qmd index fcf1176..cafcdfa 100644 --- a/import.qmd +++ b/import.qmd @@ -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. - +![](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. - - In [Chapter -@sec-import-webscrape], you'll learn about harvesting data off the web and getting it into R.