Allow pivot_longer(names_to = NULL) to produce no name columns #961
Labels
feature
a feature request or enhancement
help wanted ❤️
we'd love your help!
pivoting ♻️
pivot rectangular data to different "shapes"
A suggestion. Sometimes the column names provide no new/useful information as the values encode the same (or better) information. In this case, the names column is unwanted and dropped soon after the pivot.
If
names_to
can create one or more columns based on patterns, could it be extended to allow 0 columns to simplify thepivot_longer(names_to = "junk") %>% select(-junk)
pattern?The text was updated successfully, but these errors were encountered: