เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Column name suffixes

The three data.tables containing information about the geography and population of Australia have been loaded into your R session: capitals, area, and population. Both area and population now have a column named "percentage". The "percentage" column in area contains the percentage of total land mass each state occupies. The "percentage" column in population contains the percentage of the total population living in each city.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Joining Data with data.table in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Inner join
capital_pop <- ___(capitals, population, ___)

# Left join
___
แก้ไขและรันโค้ด