Running into errors when passing in data.tables, namely:
Error in [.data.table(x, keys_x) :
When i is a data.table (or character vector), the columns to join by must be specified using 'on=' argument (see ?data.table), by keying x (i.e. sorted, and, marked as sorted, see ?setkey), or by sharing column names between x and i (i.e., a natural join). Keyed joins might have further speed benefits on very large data due to x being sorted in RAM.
Running into errors when passing in data.tables, namely:
annoyed. just forcing to data.frame everywhere