tidyr: Tidy Messy Data

Tools to help to create tidy data, where each column is a variable, each row is an observation, and each cell contains a single value. 'tidyr' contains tools for changing the shape (pivoting) and hierarchy (nesting and 'unnesting') of a dataset, turning deeply nested lists into rectangular data frames ('rectangling'), and extracting values out of string columns. It also includes tools for working with missing values (both implicit and explicit).

Version: 1.0.2
Depends: R (≥ 3.1)
Imports: dplyr (≥ 0.8.2), ellipsis (≥ 0.1.0), glue, magrittr, purrr, Rcpp, rlang, stringi, tibble (≥ 2.1.1), tidyselect (≥ 0.2.5), utils, vctrs (≥ 0.2.0), lifecycle
LinkingTo: Rcpp
Suggests: covr, jsonlite, knitr, repurrrsive (≥ 1.0.0), rmarkdown, readr, testthat (≥ 2.1.0)
Published: 2020-01-24
Author: Hadley Wickham [aut, cre], Lionel Henry [aut], RStudio [cph]
Maintainer: Hadley Wickham <hadley at rstudio.com>
BugReports: https://github.com/tidyverse/tidyr/issues
License: MIT + file LICENSE
URL: https://tidyr.tidyverse.org, https://github.com/tidyverse/tidyr
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: tidyr results

Downloads:

Reference manual: tidyr.pdf
Vignettes: Usage and migration
nest
Pivoting
rectangling
Tidy data
Package source: tidyr_1.0.2.tar.gz
Windows binaries: r-devel: tidyr_1.0.2.zip, r-devel-gcc8: tidyr_1.0.2.zip, r-release: tidyr_1.0.2.zip, r-oldrel: tidyr_1.0.2.zip
OS X binaries: r-release: tidyr_1.0.2.tgz, r-oldrel: tidyr_1.0.2.tgz
Old sources: tidyr archive

Reverse dependencies:

Reverse depends: BgeeDB, biclustermd, bunching, geotoolsR, ggmcmc, mnreadR, radiant.data, Riex, rsample, sfc, shinySIR, SummarizedBenchmark, TissueEnrich, TPP, ushr
Reverse imports: abjutils, ActFrag, activPAL, actogrammr, AeRobiology, AHM, ahpsurvey, aire.zmvm, alakazam, alfred, allestimates, alookr, alphavantager, ALPS, AMPLE, AMR, anomalize, arena2r, artMS, auctestr, auk, BaMORC, banter, basecallQC, basket, BatchGetSymbols, BAwiR, bayesammi, BayesMallows, BayesPostEst, baystability, bdl, beadplexr, BENMMI, bestSDP, biclust, BifactorIndicesCalculator, bigPint, biobroom, BiocPkgTools, biomod2, bioOED, bioset, bipartiteD3, BIS, biscale, bkmr, blkbox, BMTME, BNPdensity, bomrang, bootnet, breathtestcore, breathteststan, brendaDb, broom, broom.mixed, bupaR, BUSpaRse, bwsTools, c14bazAAR, caffsim, capm, carpenter, casen, casino, cassandRa, catlearn, CB2, cdom, cellbaseR, CellBench, CellMixS, censusxy, ceRtainty, CGPfunctions, cheese, childsds, chromswitch, cicero, cimir, circumplex, clustcurv, clustermole, clusterProfiler, CNVScope, coalitions, cocktailApp, COCOA, codebook, codified, cogmapr, collector, colorednoise, compareDF, COMPASS, comperes, compstatr, concurve, confoundr, congressbr, contribution, convergEU, corporaexplorer, correlationfunnel, countsimQC, countyfloods, countyweather, coveffectsplot, coxed, cpr, crypto, ctDNAtools, curatedMetagenomicData, cutpointr, cvms, d3r, dabestr, DAPAR, dartR, datadogr, daymetr, dbfaker, DChIPRep, DCPO, deaR, DEGreport, DEP, describedata, descriptr, destiny, dexter, dextergui, dexterMST, DiagrammeR, diceR, diffcyt, diffrprojectswidget, disto, distrr, diyar, dlookr, dm, dmai, DNABarcodeCompatibility, docxtools, dplyrAssist, drawProteins, drifter, ds4psy, dscore, DSSAT, DuoClustering2018, dynfrail, dynparam, dynwrap, easyalluvial, ebirdst, echor, edeaR, eechidna, EFDR, egor, eiCompare, EIX, eixport, elaborator, ELMER, embed, emuR, ENCODExplorer, ENCODExplorerData, engsoccerdata, eph, epidata, epikit, EpiReport, episheet, epubr, ERSA, escalation, ESTER, esvis, eudract, eurostat, evaluator, EventStudy, ExPanDaR, explor, extdplyr, exuber, eyetrackingR, ezmmek, fable, fabletools, factoextra, fasstr, fastqcr, fbar, feasts, fedregs, fgeo.analyze, finalfit, fingertipscharts, fipe, fitzRoy, fixerapi, flashlight, flexsurv, fmriqa, foieGras, FoldGO, foodingraph, forecastML, forestinventory, forestmangr, fpp3, frostr, FSinR, ftExtra, funneljoin, futureheatwaves, fuzzyjoin, GA4GHshiny, gaiah, gen5helper, genius, genogeographer, GEOquery, geoviz, GerminaR, getTBinR, GetTDData, gfer, ggalluvial, ggasym, ggedit, ggfortify, ggiraphExtra, gglogo, ggmap, ggmosaic, ggmsa, ggpubr, ggQC, ggquickeda, ggRandomForests, ggsolvencyii, ggsom, ggspatial, ggspectra, ggstatsplot, ggtree, GillespieSSA2, GladiaTOX, glancedata, gluvarpro, googleAnalyticsR, googlesheets, gprofiler2, graph4lg, graphTweets, gratia, gravitas, gravity, groupedstats, gtsummary, gwdegree, HaDeX, hansard, happybiRthday, harrietr, HCABrowser, healthcareai, heuristicsmineR, highcharter, HiLDA, HS, HTSSIP, HURDAT, hurricaneexposure, iadf, IBCF.MTME, ICD10gm, iCNV, IDE, ideamdb, idiogramFISH, idmodelr, ihpdr, IMP, implicitMeasures, imputeTestbench, IncucyteDRC, INDperform, infercnv, inferr, influxdbr, InjurySeverityScore, inspectdf, iNZightTools, IONiseR, iotables, ipfr, ipmisc, irtplay, isomiRs, ISRaD, jabr, janitor, jpndistrict, jrt, jstor, kayadata, kntnr, konfound, LAGOSNE, lans2r, LBSPR, ledger, LexisPlotR, lifelogr, lillies, linkspotter, lipidomeR, lipidr, litteR, longitudinalcascade, mafs, malariaAtlas, marketr, mason, matsindf, mboxr, mcp, mcStats, meltt, mem, memapp, memoria, MetabolicSurv, MetaCyto, metagam, metamicrobiomeR, metan, metaplot, MetaVolcanoR, mice, microbiome, microhaplot, migest, missCompare, miWQS, mixOmics, mlbgameday, MMAPPR2, MMUPHin, modelr, modelsummary, monkeylearn, morse, MortalityLaws, mosaic, mosaicCore, mosaicModel, MOSim, mousetrap, mplot, mpoly, MPTmultiverse, MSstats, MSstatsTMT, mtconnectR, mudata2, MultiAssayExperiment, multicolor, multistateutils, N2H4, NACHO, naniar, nationwider, NBAloveR, ncappc, ncmeta, ndexr, neo4r, neonUtilities, NetworkChange, NetworkExtinction, NeuralNetTools, neuropsychology, newsanchor, NFP, ngsReports, nhdplusTools, nlmixr, nlrx, nls.multstart, nmfem, noaastormevents, nonmemica, nullabor, obliqueRSF, oceanis, oddstream, OMICsPCA, omicwas, omu, OncoBayes2, oncrawlR, onemapsgapi, openair, OutliersO3, outreg, owmr, packagefinder, pairwiseComparisons, palaeoSig, pammtools, parcats, parsemsf, parsnip, partition, passt, PathoStat, pcaExplorer, performanceEstimation, perturbatr, PHEindicatormethods, phenofit, phenopath, philr, photobiologyInOut, photosynthesis, pixiedust, PKNCA, PLNmodels, plotdap, plotGrouper, plotly, pmc, pmdplyr, PML, PopED, portalr, povcalnetR, powdR, ppcSpatial, PPforest, ppitables, prcr, predict3d, predictrace, preference, primirTSS, PrInCE, prisonbrief, proBatch, processanimateR, processmapR, processR, profileplyr, prophet, proteoQC, proustr, psfmi, psychmeta, psycho, psychonetrics, ptstem, PupillometryR, PupilPre, PWFSLSmoke, pwr2ppl, qdap, qPLEXanalyzer, qsub, quantable, queuecomputer, quokar, qwraps2, rabhit, radiant.basics, radiant.model, ralger, rattle, raustats, ravelRy, rawKS, rcrtan, rcv, rdflib, rdiversity, readabs, readat, recipes, redcapAPI, REDCapR, refund.shiny, registr, regrrr, reproducer, rfacebookstat, rFIA, RFishBC, rfm, rfPermute, rhmmer, RIdeogram, RKorAPClient, rmapzen, RmarineHeatWaves, rmdcev, RNeXML, rnoaa, roadoi, robCompositions, robvis, ropenaq, ropercenter, rprev, rscopus, rscorecard, rsppfp, RSSL, rstanemax, rstatix, rtimicropem, RTL, rtrek, rtrends, RtutoR, rtypeform, rubias, ruler, rusk, rvkstat, rwalkr, RWDataPlyr, sabre, safetyGraphics, sampler, SanzCircos, saotd, sapfluxnetr, saqgetr, scanstatistics, scatterpie, schrute, SCORPIUS, sdStaf, secrettext, seeds, SEERaBomb, sejmRP, semtree, seplyr, seqCAT, SeqVarTools, sGMRFmix, shazam, SHELF, shinyML, ShinyTester, ShortForm, SIBER, sigminer, Signac, silicate, SimBIID, simmer.plot, simplevis, simrel, simTool, simts, SingleCaseES, singscore, sismonr, sitar, sjPlot, sjstats, skimr, slinky, SMAD, smog, sobir, sociome, SpaCCr, sparklyr, SpatialCPie, spatialwarnings, speech, spinebil, splithalf, spotifyr, stability, staRdom, starmie, statar, stationaRy, statsExpressions, statsr, stormwindmodel, strapgod, strataG, STRMPS, studentlife, subSeq, suddengains, sugarbag, summarytools, surveydata, survivalAnalysis, survminer, survParamSim, survtmle, sweep, swfscMisc, swissdd, swissparl, swmmr, SWMPr, SWMPrExtension, syllabifyr, synoptReg, syuzhet, tabr, taxa, tbrf, TCGAbiolinks, teachingApps, tealeaves, teamcolors, TestDimorph, tetraclasse, TextForecast, textrecipes, textreuse, tfestimators, theseus, thinkr, thurstonianIRT, tibbleOne, tidybayes, tidyBF, tidyboot, tidycells, tidycensus, tidycomm, tidygapminder, tidygenomics, tidygeocoder, tidygraph, tidyHeatmap, tidyhydat, tidyjson, tidylog, tidymv, tidync, tidyposterior, tidyquant, tidyqwi, tidyREDCap, tidystats, tidytidbits, tidytransit, tidyverse, tigger, TimeSeriesExperiment, timetk, toxEval, ToxicoGx, TPP2D, transcriptogramer, trelliscopejs, trialr, trread, TSstudio, tune, ukbtools, understandBPMN, unheadr, unpivotr, varitas, varsExplore, viafr, vici, vidger, virtualPollen, visdat, vqtl, VWPre, wbstats, weathercan, webr, whatr, whoa, widyr, wordbankr, wrangle, WRTDStidal, wyz.code.metaTesting, wyz.code.offensiveProgramming, wyz.code.rdoc, wyz.code.testthat, xesreadR, XGR, xmrr, xpose, xpose.nlmixr, xspliner, zFactor, zFPKM
Reverse suggests: afex, ALA4R, altair, apaTables, ARTool, AzureKusto, baseballDBR, bayestestR, beezdemand, bench, benthos, bggum, bib2df, bisect, BloodCancerMultiOmics2017, BMRSr, bpbounds, broomExtra, BSDA, cancensus, cansim, canvasXpress, canvasXpress.data, causaldrf, CellNOptR, climate, ClustImpute, contrast, correlation, cowplot, crawl, cSEM, curatedAdipoChIP, curatedAdipoRNA, cvequality, cyanoFilter, datafsm, dbplot, decoder, DeepBlueR, depmap, derivmkts, destiny, detrendr, dimRed, dirichletprocess, DLMtool, dlstats, DTAT, dupree, echarts4r, ecotox, eemR, eesim, effectsize, eia, epiphy, ethnobotanyR, europop, expstudies, eyelinker, ezplot, fastR2, fauxnaif, fgeo.tool, fivethirtyeight, flagr, forwards, fourierin, FunnelPlotR, GADMTools, ganalytics, ggfan, ggformula, ggparliament, ggthemes, ggwordcloud, googleLanguageR, groupdata2, GSODR, gutenbergr, hal9001, hdme, heddlr, hilbertSimilarity, htmltab, htmlTable, hutils, idbr, IHWpaper, imgw, JacobiEigen, Lahman, linguisticsdown, lognorm, lplyr, madness, MANOVA.RM, matsbyname, methylCC, mixdir, modcmfitr, mortAAR, mosaicData, namedCapture, nandb, nc, NHSRdatasets, nomisr, nzelect, ohenery, OmnipathR, openEBGM, oppr, outcomerate, padr, panelr, parSim, patentsview, perccalc, permutes, phyr, physiology, Pi, politicaldata, pollen, pollstR, pomp, powerlmm, prevtoinc, proDA, projmgr, qicharts2, qualvar, quantities, questionr, radarchart, Radviz, RBesT, REddyProc, rfbCNPJ, Rilostat, rlc, rmonad, robmed, rODE, rpmodel, rsinaica, RTCGA, rtdists, RxODE, SCtools, see, segmentr, sesame, sf, SimDesign, simglm, simstandard, sjmisc, spanish, sparseMVN, ssdtools, stats19, sugrrants, sunburstR, survutils, switchde, tauturri, textmineR, TFEA.ChIP, tibbletime, tictactoe, tidyfast, tidyfst, tidytext, tidyxl, tilegramsR, tmap, topconfects, tradeSeq, treeio, truelies, tsfeatures, tsibble, tvgeom, unjoin, unvotes, usdarnass, usedist, USgrid, valr, VancouvR, vcfR, vinereg, vlad, volleystat, vroom, WDI, wikisourcer, wrswoR, wrswoR.benchmark, xgxr, yardstick, ypr

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidyr to link to this page.