Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Final Quiz
9. Exercise 9

Instruction

One more thing to do. We need to subset some companies' data.

Exercise

Subset all information for companies to which we deliver products containing the word "ethyl" in their name (in any case). Assign the results to the ethyl_companies variable.

Stuck? Here's a hint!

One way to match any case is to convert product names to either lower- or upper-case before grepl()ing.

grepl("ethyl", tolower(orders$product_name))