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:
- me: Palestinian conflict
- nu: Nuclear weapons and nuclear material
- di: Arms control and disarmament
- hr: Human rights
- co: Colonialism
- 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
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