Chapter 8 Learning Objectives

By the end of this practice, you should be able to:

  • Load and inspect data using tidyverse tools.
  • Separate one character column into multiple columns.
  • Clean extra spaces using str_trim().
  • Extract text patterns using regular expressions and str_extract().
  • Create a simple custom function.
  • Reshape data from wide format to long format using pivot_longer().
  • Separate coded variable names into meaningful variables.
  • Summarize and visualize categorical data.