r4ds/whole-game.qmd

46 lines
2.6 KiB
Plaintext
Raw Normal View History

# Whole game {#sec-whole-game-intro .unnumbered}
2016-04-21 21:01:34 +08:00
```{r}
#| results: "asis"
#| echo: false
source("_common.R")
```
2016-02-12 06:31:34 +08:00
Our goal in this part of the book is to give you a rapid overview of the main tools of data science: **importing**, **tidying**, **transforming**, and **visualizing data**, as shown in @fig-ds-whole-game.
We want to show you the "whole game" of data science giving you just enough of all the major pieces so that you can tackle real, if simple, datasets.
The later parts of the book, will hit each of these topics in more depth, increasing the range of data science challenges that you can tackle.
2016-07-19 22:39:00 +08:00
```{r}
#| label: fig-ds-whole-game
#| echo: false
#| out.width: NULL
#| fig-cap: >
#| In this section of the book, you'll learn how to import,
#| tidy, transform, and visualize data.
#| fig-alt: >
#| A diagram displaying the data science cycle: Import -> Tidy ->
#| Understand (which has the phases Transform -> Visualize -> Model in a
#| cycle) -> Communicate. Surrounding all of these is Program
#| Import, Tidy, Transform, and Visualize is highlighted.
knitr::include_graphics("diagrams/data-science/whole-game.png", dpi = 270)
2016-07-19 22:39:00 +08:00
```
Five chapters focus on the tools of data science:
2016-05-19 00:57:20 +08:00
2023-02-28 21:35:57 +08:00
- Visualization is a great place to start with R programming, because the payoff is so clear: you get to make elegant and informative plots that help you understand data.
2022-12-05 15:46:05 +08:00
In @sec-data-visualization you'll dive into visualization, learning the basic structure of a ggplot2 plot, and powerful techniques for turning data into plots.
2016-08-22 22:57:17 +08:00
2023-02-28 21:35:57 +08:00
- Visualization alone is typically not enough, so in @sec-data-transform, you'll learn the key verbs that allow you to select important variables, filter out key observations, create new variables, and compute summaries.
2016-05-19 00:57:20 +08:00
- In @sec-data-tidy, you'll learn about tidy data, a consistent way of storing your data that makes transformation, visualization, and modelling easier.
2021-03-04 01:13:14 +08:00
You'll learn the underlying principles, and how to get your data into a tidy form.
- Before you can transform and visualize your data, you need to first get your data into R.
In @sec-data-import you'll learn the basics of getting `.csv` files into R.
2021-02-22 19:47:39 +08:00
Nestled among these chapters are five other chapters that focus on your R workflow.
In @sec-workflow-basics, @sec-workflow-style, and @sec-workflow-scripts-projects you'll learn good workflow practices for writing and organizing your R code.
2023-02-28 21:35:57 +08:00
These will set you up for success in the long run, as they'll give you the tools to stay organized when you tackle real projects.
Finally, @sec-workflow-getting-help will teach you how to get help and keep learning.