Data.table Joins

JOINing data in R using data.table

This tutorial is based on the following articles: For joining data.tables, the basics are: the ON or USING clause is defined by setting the keys on the tables with setkey() without anything else, TABLE_X[TABLE_Y] returns a right outer join; setting nomatch=0 it returns a inner join The source of this

Leave a Reply

Your email address will not be published.