See how that ended up
The imf_data also contains information about imports and exports. The imports_perc_change column refers to the percentage change of imports for a given country relative to the previous year. The exports_perc_change is the same but for exports instead of imports.
Get to pulling these columns out with ends_with()!
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Programming with dplyr
คำแนะนำการฝึกหัด
- Return
year,country, and those columns inimf_datathat conclude with"change".
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Choose year, country, and columns ending with "change"
imf_data %>%
___