LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Programming with dplyr

Kurs anzeigen

Anleitung zur Übung

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

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Find rows in one or the other tibble
___
Code bearbeiten und ausführen