tidyr is a core tidyverse package designed to help reshape and clean messy datasets into tidy data—i.e., data frames where each variable is a column, each observation is a row, and each value is a cell.

Features

  • pivot_longer() & pivot_wider() for reshaping data
  • separate() and unite() to split or combine columns
  • drop_na(), fill(), replace_na() for missing data handling
  • nest() and unnest() for list-column workflows
  • Works seamlessly with tibbles and dplyr verbs
  • Designed for pipeline-friendly, readable data design

Project Samples

Project Activity

See All Activity >

Categories

Data Management

License

MIT License

Follow tidyr

tidyr Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tidyr!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

R

Related Categories

R Data Management System

Registered

2025-07-30