By default, data.table::fread() leaves NAs blank instead of including a literal NA. That's fine for CSVs and if the output is read in by fread, but it breaks other tools for TSVs and is hard to read.
I have updated that and added a message when the table is switched to uncompressed for indexing.
I also replaced a | with a || for a scalar OR in a conditional, and I did some code formatting. If possible, I would love if the literal NA could be integrated. The other stuff is more optional.
By default,
data.table::fread()
leaves NAs blank instead of including a literal NA. That's fine for CSVs and if the output is read in by fread, but it breaks other tools for TSVs and is hard to read.I have updated that and added a message when the table is switched to uncompressed for indexing.
I also replaced a
|
with a||
for a scalarOR
in a conditional, and I did some code formatting. If possible, I would love if the literal NA could be integrated. The other stuff is more optional.