Learn how to use R to turn data into insight, knowledge, and understanding. Ideal for current and aspiring data scientists, this book introduces you to doing data science with R and RStudio, as well as the tidyverse—a collection of R packages designed to work together to make data science fast, fluent, and fun. Even if you have no programming experience, this updated edition will have you doing data science quickly.
You'll learn how to import, transform, and visualize your data and communicate the results. And you'll get a complete, big-picture understanding of the data science cycle and the basic tools you need to manage the details. Each section in this edition includes exercises to help you practice what you've learned along the way.
Updated for the latest tidyverse best practices, new chapters dive deeper into visualization and data wrangling, show you how to get data from spreadsheets, databases, and websites, and help you make the most of new programming tools.
You'll learn how to
Visualize—create plots for data exploration and communication of results
Transform—discover types of variables and the tools you can use to work with them
Import—get data into R and in a form convenient for analysis
Program—learn R tools for solving data problems with greater clarity and ease
Author(s): Hadley Wickham, Mine Cetinkaya-Rundel, and Garrett Grolemund
Edition: 2
Publisher: O'Reilly Media
Year: 2023
Language: English
Commentary: early release
Pages: 743
Welcome
Preface to the second edition
1 Introduction
Whole game
2 Data visualization
3 Workflow: basics
4 Data transformation
5 Workflow: code style
6 Data tidying
7 Workflow: scripts and projects
8 Data import
9 Workflow: getting help
Visualize
10 Layers
11 Exploratory data analysis
12 Communication
Transform
13 Logical vectors
14 Numbers
15 Strings
16 Regular expressions
17 Factors
18 Dates and times
19 Missing values
20 Joins
Import
21 Spreadsheets
22 Databases
23 Arrow
24 Hierarchical data
25 Web scraping
Program
26 Functions
27 Iteration
28 A field guide to base R
Communicate
29 Quarto
30 Quarto formats