Engineering Leader Guide· a Bicycle Guide

Coming soon · Book Profile

R for Data Science

A practical, hands-on guide to doing data science in R using the tidyverse, walking the reader through the complete workflow of importing, tidying, transforming, visualizing, modeling, and communicating data.

A profile of this book is on the way.

Get the book →

What it’s about

R for Data Science teaches you how to turn raw data into understanding, insight, and knowledge using R and the tidyverse collection of packages. Rather than starting with the boring parts (data ingest and cleaning), the book begins with visualization and transformation of clean data so your motivation stays high, then progressively layers in programming skills, data wrangling, modeling, and communication. Written by Hadley Wickham (creator of much of the tidyverse) and Garrett Grolemund, the book unabashedly focuses on the most important 80% of data science tasks—hypothesis generation and exploratory data analysis on rectangular, in-memory datasets—giving you a coherent, opinionated toolkit (ggplot2, dplyr, tidyr, readr, purrr, and more) that share a common philosophy and work together naturally. By the end you'll have a reusable mental model of the data science process and the concrete R skills to execute it, plus pointers to deeper resources for the remaining 20%.

The through-line

Who it’s for
An aspiring or working data analyst who wants to turn raw data into understanding, insight, and knowledge and tackle a wide variety of data science challenges.
The problem
They have data but lack a coherent, efficient toolkit and workflow to import, clean, explore, model, and communicate it in R. They feel frustrated and overwhelmed by R's pickiness and the sprawling, inconsistent landscape of tools and techniques.
The plan
  1. Install R, RStudio, and the tidyverse.
  2. Start with visualization and transformation of clean data to build momentum.
  3. Learn exploratory data analysis to ask and answer questions about data.
  4. Wrangle messy data into tidy form using import and tidying tools.
  5. Acquire programming skills (functions, vectors, iteration) to tackle harder problems.
The payoff
You can tackle about 80% of any data science project with the tools you've learned. · You generate many promising leads through rapid, iterative data exploration. · You produce elegant, informative plots and reproducible reports.

See our guide

Related profiles we’ve built

Additional reading