R for Data Science (2e)

Hadley Wickham

The second edition of the book by Hadley Wickham, Mine Çetinkaya-Rundel and Garrett Grolemund, free to read online. It opens with a quick pass through the whole workflow (visualizing, transforming, tidying and importing data) and then goes deeper into each step, with chapters on specific data types, joins, databases, Arrow, web scraping, functions and reporting with Quarto. It uses the tidyverse throughout, and most sections end with exercises.

What you'll learn

  • Making plots with ggplot2
  • Transforming and tidying data with dplyr and tidyr
  • Importing data from files, spreadsheets and databases
  • Working with strings, factors, dates and missing values
  • Writing functions and iterating over data
  • Publishing analyses with Quarto

More Data Science courses