MulaiMulai sekarang secara gratis

Anti-joins

Anti-joins are useful when you want to filter rows in one table not found in the other. Your goal is to filter the population so that it does not contain the state capitals, and filter the area so that it only contains administrative areas, not the major Australian states.

Latihan ini adalah bagian dari kursus

Joining Data with data.table in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Anti-join capitals to population
population[___]
Edit dan Jalankan Kode