Final quiz

Instruction

As you can see, our columns have information for each resident about how much they spend (as a percentage of their income) on different categories, like food, transportation, etc. Now, we need to join our two datasets: personal_info and expenses.

Exercise

Join the personal_info and expenses tables together by id. Assign the resulting table to a variable named survey.

Stuck? Here's a hint!

Type:

survey <- inner_join(
  personal_info,
  expenses,
  by = "id")