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.
Bu egzersiz
Joining Data with dplyr
kursunun bir parçasıdırEgzersiz talimatları
- Use the
inventory_partstable to find the colors that are included in at least one set.
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Use inventory_parts to find colors included in at least one set
colors %>%
___