Get startedGet started for free

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.

This exercise is part of the course

Case Study: Exploratory Data Analysis in R

View Course

Exercise instructions

Filter the votes_joined dataset for votes relating to colonialism.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Filter for votes related to colonialism

Edit and Run Code