Introduction Part Ⅰ.Whole Game 1.Data Visualization Introduction First Steps ggplot2 Calls Visualizing Distributions Visualizing Relationships Saving Your Plots Common Problems Summary 2.Workflow: Basics Coding Basics Comments What's in a Name? Calling Functions Exercises Summary 3.Data Transformation Introduction Rows Columns The Pipe Groups Case Study: Aggregates and Sample Size Summary 4.Workflow: Code Style Names Spaces Pipes ggplot2 Sectioning Comments Exercises Summary 5.Data Tidying Introduction Tidy Data Lengthening Data Widening Data Summary 6.Workflow: Scripts and Projects Scripts Projects Exercises Summary 7.Data Import Introduction Reading Data from a File Controlling Column Types Reading Data from Multiple Files
Writing to a File Data Entry Summary 8.Workflow: Getting Help Google Is Your Friend Making a reprex Investing in Yourself Summary …… Part Ⅱ.Visualize 9.Layers 10.Exploratory Data Analysis 11.Communication Part Ⅲ.Transform 12.Logical Vectors 13.Numbers 14.Strings 15.Regular Expressions 16.Factors 17.Dates and Times 18.Missing Values 19.Joins Part Ⅳ.Import 20.Spreadsheets 21.Databases 22.Arrow 23.Hierarchical Data 24.Web Scraping Part Ⅴ.Program 25.Functions 26.Iteration 27.A Field Guide to Base R Part Ⅵ.Communicate 28.Quarto 29.Quarto Formats Index