Package: tidyr 1.3.1.9000

Hadley Wickham

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).

Authors:Hadley Wickham [aut, cre], Davis Vaughan [aut], Maximilian Girlich [aut], Kevin Ushey [ctb], Posit Software, PBC [cph, fnd]

tidyr_1.3.1.9000.tar.gz
tidyr_1.3.1.9000.zip(r-4.5)tidyr_1.3.1.9000.zip(r-4.4)tidyr_1.3.1.9000.zip(r-4.3)
tidyr_1.3.1.9000.tgz(r-4.4-x86_64)tidyr_1.3.1.9000.tgz(r-4.4-arm64)tidyr_1.3.1.9000.tgz(r-4.3-x86_64)tidyr_1.3.1.9000.tgz(r-4.3-arm64)
tidyr_1.3.1.9000.tar.gz(r-4.5-noble)tidyr_1.3.1.9000.tar.gz(r-4.4-noble)
tidyr_1.3.1.9000.tgz(r-4.4-emscripten)tidyr_1.3.1.9000.tgz(r-4.3-emscripten)
tidyr.pdf |tidyr.html
tidyr/json (API)
NEWS

# Install 'tidyr' in R:
install.packages('tidyr', repos = c('https://tidyverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidyverse/tidyr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

tidy-data

22.77 score 1.4k stars 5.3k packages 135k scripts 1.1M downloads 321 mentions 70 exports 20 dependencies

Last updated 18 days agofrom:3a9a93c1db. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-win-x86_64OKOct 25 2024
R-4.5-linux-x86_64OKOct 25 2024
R-4.4-win-x86_64NOTEOct 25 2024
R-4.4-mac-x86_64NOTEOct 25 2024
R-4.4-mac-aarch64NOTEOct 25 2024
R-4.3-win-x86_64NOTEOct 25 2024
R-4.3-mac-x86_64NOTEOct 25 2024
R-4.3-mac-aarch64NOTEOct 25 2024

Exports:%>%all_ofany_ofas_tibblebuild_longer_specbuild_wider_speccheck_pivot_specchopcompletecomplete_containscrossingcrossing_drop_nadrop_na_ends_witheverythingexpandexpand_expand_gridextractextract_extract_numericfillfill_full_seqgathergather_hoistlast_colmatchesnestnest_nest_legacynestingnesting_num_rangeone_ofpackpivot_longerpivot_longer_specpivot_widerpivot_wider_specreplace_naseparateseparate_separate_longer_delimseparate_longer_positionseparate_rowsseparate_rows_separate_wider_delimseparate_wider_positionseparate_wider_regexspreadspread_starts_withtibbletidyr_legacytribbleunchopuncountuniteunite_unnestunnest_unnest_autounnest_legacyunnest_longerunnest_widerunpack

Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyselectutf8vctrswithr

In packages

Rendered fromin-packages.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-08-05
Started: 2019-08-08

Nested data

Rendered fromnest.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-08-27
Started: 2019-05-09

Pivoting

Rendered frompivot.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-08-27
Started: 2019-03-03

Programming with tidyr

Rendered fromprogramming.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-08-05
Started: 2020-04-24

Rectangling

Rendered fromrectangle.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-08-27
Started: 2019-05-08

Tidy data

Rendered fromtidy-data.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-10-24
Started: 2014-06-11

Readme and manuals

Help Manual

Help pageTopics
Song rankings for Billboard top 100 in the year 2000billboard
Chop and unchopchop unchop
Data from the Centers for Medicare & Medicaid Servicescms_patient_care cms_patient_experience
Complete a data frame with missing combinations of datacomplete
Completed construction in the US in 2018construction
Drop rows containing missing valuesdrop_na
Expand data frame to include all possible combinations of valuescrossing expand nesting
Create a tibble from all combinations of inputsexpand_grid
Extract a character column into multiple columns using regular expression groupsextract
Fill in missing values with previous or next valuefill
Fish encountersfish_encounters
Create the full sequence of values in a vectorfull_seq
Gather columns into key-value pairsgather
Hoist values out of list-columnshoist
Household datahousehold
Nest rows into a list-column of data framesnest
Legacy versions of 'nest()' and 'unnest()'nest_legacy unnest_legacy
Pack and unpackpack unpack
Pivot data from wide to longpivot_longer
Pivot data from long to widepivot_wider
Pew religion and income surveyrelig_income
Replace NAs with specified valuesreplace_na
Separate a character column into multiple columns with a regular expression or numeric locationsseparate
Split a string into rowsseparate_longer_delim separate_longer_position
Separate a collapsed column into multiple rowsseparate_rows
Split a string into columnsseparate_wider_delim separate_wider_position separate_wider_regex
Some data about the Smith familysmiths
Spread a key-value pair across multiple columnsspread
Example tabular representationstable1 table2 table3 table4a table4b table5
"Uncount" a data frameuncount
Unite multiple columns into one by pasting strings togetherunite
Unnest a list-column of data frames into rows and columnsunnest
Unnest a list-column into rowsunnest_longer
Unnest a list-column into columnsunnest_wider
US rent and income dataus_rent_income
World Health Organization TB datapopulation who who2
Population data from the World Bankworld_bank_pop