RStudio is a trademark of RStudio, PBC. This document provides a cheat sheet on tidying data with the tidyr package in R. It defines tidy data as having each variable in its own column and each observation in its own row. It discusses tibbles as an enhanced data frame format and provides functions for constructing, subsetting, and printing tibbles. It also covers reshaping data through pivoting, handling missing values, expanding and completing data, and working with nested data through nesting, unnesting, and applying functions to list columns.