Inner join with the data.table syntax
In the last exercise, you right joined population to capitals. The result contained all rows from population and had some NAs. In this exercise, you will perform an inner join instead, retaining rows only from both the tables.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Joining Data with data.table in R
คำแนะนำการฝึกหัด
Inner join population to capitals using the data.table syntax.
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Inner join with the data.table syntax
___[population, ___, ___]