-
Couldn't load subscription status.
- Fork 1k
Closed
Labels
Description
Submitted by: Kevin Ushey; Assigned to: Nobody; R-Forge link
I have a suggestion for a feature: add a parameter 'names' that allows 'rbindlist' to keep the names of each element of a list 'x', and add it to a column in the final outputted data.table. This way, after 'rbindlist'ing a list of elements, we can still map rows in the output to the original list it was produced from.
I have an example implementation of what I mean up at https://github.com/kevinushey/data.table.extras/blob/master/R/rbindlistn.R ; I don't know if this is the best way to do it but it functions as a proof of concept for what I mean.
Thanks!