Aan de slagGa gratis aan de slag

Save the union

In the previous lesson, you determined the rows that are in both asia_wb_combos and imf_combos using intersect(). You may have noticed some properties of the different Venn diagrams that we'll start to build towards with union() and then in the next exercise with union_all(). The Venn diagrams split the datasets into different pieces. Can you combine the coloring in the diagrams to see how one of the operations is the combination of two of the other operations?

Venn Diagram of Set Operations

asia_wb_combos and imf_combos have been loaded for you.

Deze oefening maakt deel uit van de cursus

Programming with dplyr

Cursus bekijken

Oefeninstructies

  • Identify the rows in either asia_wb_combos or imf_combos (in that order), excluding duplicates.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Find rows in one or the other tibble
___
Code bewerken en uitvoeren