Selecting columns
Select the following four columns from the counties
variable:
state
county
population
poverty
You don't need to save the result to a variable.
This exercise is part of the course
Data Manipulation with dplyr
Exercise instructions
- Select the columns listed from the
counties
variable.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
counties %>%
# Select the columns
___