data.table - A list of examples I like to reference

I use the data.table package quite a bit at work and it’s become my preferred way to work with data in R, even with smaller data sizes. As much as the tidyverse is readable and smart, there is something about data.table syntax that I’ve really come to appreciate. It’s harder to read, but quicker to type. But the readability becomes an issue sometimes, since I might forget tips and tricks that have been useful in the past.