Checking for differences
When joining two data sources together, it's important to look for differences in the keys. Without this, you can get far more rows in your joins than you were expecting. You saw some results that seemed a little off with our joins earlier in this chapter. In this exercise, you'll explore some reasons for those issues.
world_bank_data and imf_data have been loaded for you.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Programming with dplyr
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Find distinct ISO and country names in the two datasets
imf_countries <- imf_data %>%
___
world_bank_countries <- world_bank_data %>%
___