Aan de slagGa gratis aan de slag

Joining in either direction

An inner_join works the same way with either table in either position. The table that is specified first is arbitrary, since you will end up with the same information in the resulting table either way.

Let's prove this by joining the same two tables from the last exercise in the opposite order!

Deze oefening maakt deel uit van de cursus

Joining Data with dplyr

Cursus bekijken

Oefeninstructies

  • Connect the inventory_parts and parts tables by their part numbers using an inner join.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Combine the parts and inventory_parts tables
inventory_parts %>%
  ___
Code bewerken en uitvoeren