Books & Videos

Table of Contents

  1. Explore

    1. Chapter 1 Data Visualization with ggplot2

      1. Introduction
      2. First Steps
      3. Aesthetic Mappings
      4. Common Problems
      5. Facets
      6. Geometric Objects
      7. Statistical Transformations
      8. Position Adjustments
      9. Coordinate Systems
      10. The Layered Grammar of Graphics
    2. Chapter 2 Workflow: Basics

      1. Coding Basics
      2. What’s in a Name?
      3. Calling Functions
    3. Chapter 3 Data Transformation with dplyr

      1. Introduction
      2. Filter Rows with filter()
      3. Arrange Rows with arrange()
      4. Select Columns with select()
      5. Add New Variables with mutate()
      6. Grouped Summaries with summarize()
      7. Grouped Mutates (and Filters)
    4. Chapter 4 Workflow: Scripts

      1. Running Code
      2. RStudio Diagnostics
    5. Chapter 5 Exploratory Data Analysis

      1. Introduction
      2. Questions
      3. Variation
      4. Missing Values
      5. Covariation
      6. Patterns and Models
      7. ggplot2 Calls
      8. Learning More
    6. Chapter 6 Workflow: Projects

      1. What Is Real?
      2. Where Does Your Analysis Live?
      3. Paths and Directories
      4. RStudio Projects
      5. Summary
  2. Wrangle

    1. Chapter 7 Tibbles with tibble

      1. Introduction
      2. Creating Tibbles
      3. Tibbles Versus data.frame
      4. Interacting with Older Code
    2. Chapter 8 Data Import with readr

      1. Introduction
      2. Getting Started
      3. Parsing a Vector
      4. Parsing a File
      5. Writing to a File
      6. Other Types of Data
    3. Chapter 9 Tidy Data with tidyr

      1. Introduction
      2. Tidy Data
      3. Spreading and Gathering
      4. Separating and Pull
      5. Missing Values
      6. Case Study
      7. Nontidy Data
    4. Chapter 10 Relational Data with dplyr

      1. Introduction
      2. nycflights13
      3. Keys
      4. Mutating Joins
      5. Filtering Joins
      6. Join Problems
      7. Set Operations
    5. Chapter 11 Strings with stringr

      1. Introduction
      2. String Basics
      3. Matching Patterns with Regular Expressions
      4. Tools
      5. Other Types of Pattern
      6. Other Uses of Regular Expressions
      7. stringi
    6. Chapter 12 Factors with forcats

      1. Introduction
      2. Creating Factors
      3. General Social Survey
      4. Modifying Factor Order
      5. Modifying Factor Levels
    7. Chapter 13 Dates and Times with lubridate

      1. Introduction
      2. Creating Date/Times
      3. Date-Time Components
      4. Time Spans
      5. Time Zones
  3. Program

    1. Chapter 14 Pipes with magrittr

      1. Introduction
      2. Piping Alternatives
      3. When Not to Use the Pipe
      4. Other Tools from magrittr
    2. Chapter 15 Functions

      1. Introduction
      2. When Should You Write a Function?
      3. Functions Are for Humans and Computers
      4. Conditional Execution
      5. Function Arguments
      6. Return Values
      7. Environment
    3. Chapter 16 Vectors

      1. Introduction
      2. Vector Basics
      3. Important Types of Atomic Vector
      4. Using Atomic Vectors
      5. Recursive Vectors (Lists)
      6. Attributes
      7. Augmented Vectors
    4. Chapter 17 Iteration with purrr

      1. Introduction
      2. For Loops
      3. For Loop Variations
      4. For Loops Versus Functionals
      5. The Map Functions
      6. Dealing with Failure
      7. Mapping over Multiple Arguments
      8. Walk
      9. Other Patterns of For Loops
  4. Model

    1. Chapter 18 Model Basics with modelr

      1. Introduction
      2. A Simple Model
      3. Visualizing Models
      4. Formulas and Model Families
      5. Missing Values
      6. Other Model Families
    2. Chapter 19 Model Building

      1. Introduction
      2. Why Are Low-Quality Diamonds More Expensive?
      3. What Affects the Number of Daily Flights?
      4. Learning More About Models
    3. Chapter 20 Many Models with purrr and broom

      1. Introduction
      2. gapminder
      3. List-Columns
      4. Creating List-Columns
      5. Simplifying List-Columns
      6. Making Tidy Data with broom
  5. Communicate

    1. Chapter 21 R Markdown

      1. Introduction
      2. R Markdown Basics
      3. Text Formatting with Markdown
      4. Code Chunks
      5. Troubleshooting
      6. YAML Header
      7. Learning More
    2. Chapter 22 Graphics for Communication with ggplot2

      1. Introduction
      2. Label
      3. Annotations
      4. Scales
      5. Zooming
      6. Themes
      7. Saving Your Plots
      8. Learning More
    3. Chapter 23 R Markdown Formats

      1. Introduction
      2. Output Options
      3. Documents
      4. Notebooks
      5. Presentations
      6. Dashboards
      7. Interactivity
      8. Websites
      9. Other Formats
      10. Learning More
    4. Chapter 24 R Markdown Workflow