MulaiMulai sekarang secara gratis

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()!

Latihan ini adalah bagian dari kursus

Programming with dplyr

Lihat Kursus

Petunjuk latihan

  • Return year, country, and those columns in imf_data that conclude with "change".

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Choose year, country, and columns ending with "change"
imf_data %>% 
	___
Edit dan Jalankan Kode