split for a data.table that keeps integrity of a column of lists of data.table objects
Source: R/pkgDep3.R
splitKeepOrderAndDTIntegrity.Rddata.table::split does 2 bad things:
reorders if using
fdestroys the integrity of a column that is a list of data.tables, when using
bySo, to keep order, needby, but to keep integrity, needf. This function