Get startedGet started for free

Moving with select() and everything()

You can rearrange columns in your data using select(), or the newer dplyr function relocate(). In this exercise, you'll work with the imf_data, the select() function, and some helper functions to move columns around.

Throughout this chapter, dplyr and imf_data have been loaded for you.

This exercise is part of the course

Programming with dplyr

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Get imf_data column names
___
Edit and Run Code