r4ds/wrangle.Rmd

31 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-04-27 15:04:29 +08:00
# (PART) Wrangle {-}
2016-04-21 21:01:34 +08:00
2016-07-22 22:15:55 +08:00
# Introduction {#wrangle-intro}
2016-02-12 06:31:34 +08:00
2016-07-19 22:39:00 +08:00
In this part of the book, you'll learn about data wrangling, the art of getting your data into R in a useful form. Data wrangling encompasses three main pieces:
2016-03-25 22:39:49 +08:00
2016-07-19 22:39:00 +08:00
```{r echo = FALSE, out.width = "75%"}
knitr::include_graphics("diagrams/data-science-wrangle.png")
2016-03-25 22:39:49 +08:00
```
2016-07-19 22:39:00 +08:00
* In [data import], you'll learn the art of data import: how to get your data
off of disk and into R.
2016-03-25 22:39:49 +08:00
2016-07-19 22:39:00 +08:00
* In [tidy data], you'll learn about tidy data, a consistent way of storing your
data that makes transformation, visualiation, and modelling easier.
2016-03-25 22:39:49 +08:00
2016-07-19 22:39:00 +08:00
* You've already learned the basics of data transformation. In this part of the
book we'll dive deeper into tools useful for specific types of data:
2016-03-25 22:39:49 +08:00
2016-07-19 22:39:00 +08:00
* [Dates and times] will give you the key tools for working with
dates, and date times.
* [Strings] will introduce regular expressions, a powerful tool for
manipulating strings.
* [Relational data] will give you tools for working with multiple
interrelated datasets.
2016-03-25 22:39:49 +08:00
2016-07-19 22:39:00 +08:00
Before we get to those chapters we'll take a brief discussion to discuss the "tibble" in more detail, in [tibbles].
2016-03-25 22:39:49 +08:00