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?
asia_wb_combos
and imf_combos
have been loaded for you.
This exercise is part of the course
Programming with dplyr
Exercise instructions
- Identify the rows in either
asia_wb_combos
orimf_combos
(in that order), excluding duplicates.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Find rows in one or the other tibble
___