We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
With a named list L of data.table
data.table
rbindlist(L, namesname="Names")
would do apx :
rbind(L) DT[,Names:=rep(names(L),sapply(L,nrow))] movecol(DT,"Names",1)
with check that length(unique(names(L))) == length(L) [ i.e. !any(duplicated(names(L))) ]
length(unique(names(L))) == length(L)
!any(duplicated(names(L)))
The text was updated successfully, but these errors were encountered:
de09795
Don't prefix with "V" on auto generating idcol, #591.
f4a06eb
rbindlist idcols auto generated are of integer type, #591.
426e8e4
arunsrinivasan
No branches or pull requests
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
With a named list L of
data.table
would do apx :
with check that
length(unique(names(L))) == length(L)
[ i.e.!any(duplicated(names(L)))
]The text was updated successfully, but these errors were encountered: