-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Milestone
Description
It seems like, at the moment, bind_rows, when applied to a list, disregards name information. I've been doing things like this:
test = list(source_1 = data_frame(a = 1),
source_2 = data_frame(a = 1) )
1:length(test) %>%
lapply(function(i)
test[[i]] %>%
mutate(name = names(test)[i]) ) %>%
bind_rowsIt seems like a straightforward solution would be to have extra argument which specifies the name of a column to contain list name information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement