I recently came across a R package called “unvote” that consists the voting history of countries in the United Nations General Assembly from 1946 to 2015. The packaged was developed by David Robinson.
Explore the data
The package contains three data set. The first is the history of each country’s vote, with more than 700,000 rows.
The second dataset contains information about each roll call vote, including the date, description, and relevant resolution that was voted on.
The last data set contains relationships between each vote and six issues, they are “Palestinian conflict”, “Nuclear weapons and nuclear material”, “Arms control and disarmament”, “Human rights”, “Colonialism” and “Economic development”.
First, which issue(issues) have been voted the most?
How often a country voted “yes” from 1946 to 2015?
Percentage yes vote high countries from 1946 to 2015
Percentage yes vote low countries from 1946 to 2015
Percentage yes vote high countries and years
Percentage yes vote low countries and years
Let’s look at three countries - Canada, US and UK’s “Yes” vote trend in percent over year.
Let’s look at those six issues, how were they voted overtime by the above three countries?
Among these three countries, which countries voted “yes” the most and the least for what issues?
Let’s try to estimate the probability of these three countries’ changes in voting yes to the UN issues(i.e.whether there is a correlation between trend in year and percentage yes vote’)
Interpretation of the results
For the USA, the probablity of voting yes to UN issues will decrease 0.0071 percent in the coming years; trend in year and percentage yes vote are highly correlated.
For Canada, the probability of voting yes to UN issues will decrease 0.0002 percent in the coming years, and there is no correlation between trend in year and percentage yes vote.
For the UK, the probability of voting yes to UN issues will decrease 0.001 percent in the coming years, and there is no correlation between trend in year and percentage yes vote.
I realized that this package allows me to perform several statistical analysises including linear regression, logistic regression and I will save it to the next time.