CommencerCommencer gratuitement

Keys with different names

You have been contracted by a local school to perform some analysis using their internal databases. Two of those datasets are available in your R session:

  • students: contains information about the students attending the school
  • guardians: contains information about the adult who is the primary point of contact for the school for each student.

Your goal is to build a new data.table containing all the information about the guardian for each student.

Cet exercice fait partie du cours

Joining Data with data.table in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Full join
___
Modifier et exécuter le code