CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Joining Data with data.table in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Anti-join capitals to population
population[___]
Modifier et exécuter le code