Aan de slagGa gratis aan de slag

Inner join with the data.table syntax

In the last exercise, you right joined population to capitals. The result contained all rows from population and had some NAs. In this exercise, you will perform an inner join instead, retaining rows only from both the tables.

Deze oefening maakt deel uit van de cursus

Joining Data with data.table in R

Cursus bekijken

Oefeninstructies

Inner join population to capitals using the data.table syntax.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Inner join with the data.table syntax
___[population, ___, ___]
Code bewerken en uitvoeren