Tidy your data (1)

  • Make too wide data longer with tidyr::pivot_longer().
  • Make too long data wider with tidyr::pivot_wider().

We’ll focus on the relationship between both functions in different situations.