-
Notifications
You must be signed in to change notification settings - Fork 420
Closed
Labels
featurea feature request or enhancementa feature request or enhancementrectangling 🗄️converting deeply nested lists into tidy data framesconverting deeply nested lists into tidy data frames
Milestone
Description
Often one wants to name the columns produced by hoist() the same as the element in the list. So to make hoist() less verbose and more comfortable for interactive use I propose automatically naming the column as follows for unnamed arguments:
- if the last part of the pluck specification is a character use that
- if the last part of the pluck specification is a number paste the number to the last character part of the spec, e.g.
list("film", 1)would produce the column namefilm_1.
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancementrectangling 🗄️converting deeply nested lists into tidy data framesconverting deeply nested lists into tidy data frames