1. 学习
  2. /
  3. 课程
  4. /
  5. Data Manipulation with dplyr

Connected

练习

Renaming a column as part of a select

rename() isn't the only way you can choose a new name for a column; you can also choose a name as part of a select().

说明

100 XP
  • Select the columns state, county, and poverty from the counties dataset; in the same step, rename the poverty column to poverty_rate.