What colors are included in at least one set?
Besides comparing two sets directly, you could also use a filtering join like semi_join
to find out which colors ever appear in any inventory part. Some of the colors could be optional, meaning they aren't included in any sets.
The inventory_parts
and colors
tables have been preloaded for you.
Diese Übung ist Teil des Kurses
Joining Data with dplyr
Anleitung zur Übung
- Use the
inventory_parts
table to find the colors that are included in at least one set.
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Use inventory_parts to find colors included in at least one set
colors %>%
___