Contain-ted love
You can use the contains() function inside of select() to return columns with names that contain a particular string. You'll work with the imf_data to return different subsets of columns with a string argument to contains().
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Programming with dplyr
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Choose country, year, and columns with "gdp" in their name
imf_data %>%
select(___)