0%

Use R to turn data into insight, knowledge, and understanding. With this practical book, aspiring data scientists will learn how to do data science with R and RStudio, along with 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. Updated for the latest tidyverse features and best practices, new chapters show you how to get data from spreadsheets, databases, and websites. Exercises help you practice what you've learned along the way.

You'll understand how to:

  • Visualize: Create plots for data exploration and communication of results
  • Transform: Discover variable types and the tools 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
  • Communicate: Integrate prose, code, and results with Quarto

Table of Contents

  1. Introduction
  2. I. Whole Game
  3. 1. Data Visualization
  4. 2. Workflow: Basics
  5. 3. Data Transformation
  6. 4. Workflow: Code Style
  7. 5. Data Tidying
  8. 6. Workflow: Scripts and Projects
  9. 7. Data Import
  10. 8. Workflow: Getting Help
  11. II. Visualize
  12. 9. Layers
  13. 10. Exploratory Data Analysis
  14. 11. Communication
  15. III. Transform
  16. 12. Logical Vectors
  17. 13. Numbers
  18. 14. Strings
  19. 15. Regular Expressions
  20. 16. Factors
  21. 17. Dates and Times
  22. 18. Missing Values
  23. 19. Joins
  24. IV. Import
  25. 20. Spreadsheets
  26. 21. Databases
  27. 22. Arrow
  28. 23. Hierarchical Data
  29. 24. Web Scraping
  30. V. Program
  31. 25. Functions
  32. 26. Iteration
  33. 27. A Field Guide to Base R
  34. VI. Communicate
  35. 28. Quarto
  36. 29. Quarto Formats
  37. Index
  38. About the Authors
3.137.221.163