Tidyr
Changing data format
Summary
14. Exercise 3

Instruction

Nice! What's next?

Exercise

We need a full phone number that includes the area code. Use unite() on the columns phone_area_code and phone. Name the new column phone, and use a space (" ") as the separator.

Stuck? Here's a hint!

Type:

unite(cars, phone, phone_area_code, phone, sep = " ")