ПочатиПочніть безкоштовно

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().

Ця вправа є частиною курсу

Data Manipulation with dplyr

Переглянути курс

Інструкції до вправи

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

Інтерактивна практична вправа

Спробуйте виконати цю вправу, доповнивши цей зразок коду.

counties %>%
  # Select state, county, and poverty as poverty_rate
  ___
Редагувати та запускати код