Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

DataCamp

Joining Data with data.table in R

via DataCamp

Overview

This course will show you how to combine and merge datasets with data.table.

In the real world, data sets typically come split across many tables while most data analysis functions in R are designed to work with single tables of data. In this course, you'll learn how to effectively combine data sets into single tables using data.table. You'll learn how to add columns from one table to another table,
how to filter a table based on observations in another table, and how to identify records across multiple tables matching complex criteria. Along the way, you'll learn how to troubleshoot failed join operations and best practices for working with complex data sets. After completing this course you'll be well on your way to be a data.table master!

Syllabus

  • Joining Multiple data.tables
    • This chapter will show you how to perform simple joins that will enable you to combine information spread across multiple tables.
  • Joins Using data.table Syntax
    • In this chapter you will perform joins using the data.table syntax, set and view data.table keys, and perform anti-joins.
  • Diagnosing and Fixing Common Join Problems
    • This chapter will discuss common problems and errors encountered when performing data.table joins and show you how to troubleshoot and avoid them.
  • Concatenating and Reshaping data.tables
    • In the last chapter of this course you'll learn how to concatenate observations from multiple tables together, how to identify observations present in one table but not another, and how to reshape tables between long and wide formats.

Taught by

Scott Ritchie

Reviews

Start your review of Joining Data with data.table in R

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.