1. Learn
  2. /
  3. Courses
  4. /
  5. Data Manipulation with dplyr

Exercise

Select helpers

In the video you learned about the select helper starts_with(). Another select helper is ends_with(), which finds the columns that end with a particular string.

Instructions

100 XP
  • Select the columns state, county, population, and all those that end with work.
  • Filter just for the counties where at least 50% of the population is engaged in public work.