Aan de slagGa gratis aan de slag

Filtering the joined dataset

There are six columns in the descriptions dataset (and therefore in the new joined dataset) that describe the topic of a resolution:

  1. me: Palestinian conflict
  2. nu: Nuclear weapons and nuclear material
  3. di: Arms control and disarmament
  4. hr: Human rights
  5. co: Colonialism
  6. ec: Economic development

Each contains a 1 if the resolution is related to this topic and a 0 otherwise.

Deze oefening maakt deel uit van de cursus

Case Study: Exploratory Data Analysis in R

Cursus bekijken

Oefeninstructies

Filter the votes_joined dataset for votes relating to colonialism.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Filter for votes related to colonialism

Code bewerken en uitvoeren