Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Joining Data with data.table in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Anti-join capitals to population
population[___]
Code bewerken en uitvoeren