Mapping Historical Regional Voting Patterns of Zambia Presidential Election Results

More maps! This time around, we have generated historical maps for regional presidential election results. We think this provides a better understanding of regional voting patterns over the years. For each of the presidential elections held between 1991 and 2016, we visualise the final regional (READ: provincial) outcomes and, additionally, results by electoral administrative boundaries (READ: constituencies). Continue reading “Mapping Historical Regional Voting Patterns of Zambia Presidential Election Results”

Mapping the Zambia 2016 Presidential Election Results

We finally got our hands on the most recent Shapefiles [1]. Also, a few weeks back, we got our hands on the official Electoral Commission of Zambia presidential election results [2] and did some really basic analysis. So we decided to visualise the results. No commentary here, just maps… and more maps. Continue reading “Mapping the Zambia 2016 Presidential Election Results”

LaTeX Font-consistent EPS R Plots Using tikzexternalize

We are about to submit a final camera-ready version of a manuscript and they sent us this email the other day reminding us, among other things, to “adhere to the prescribed [ACM] format as set out in paragraph 2.3.10 [1]”… In a nutshell, they want all figures in EPS format. Now I am very particular about font-consistency when integrating plots within TeX documents, and so I spent most of last night trying to figure this out. I eventually decided to leverage a somewhat widely used technique–‘tikzexternalize’. I found this [2] thread on StackExchange really helpful. Continue reading “LaTeX Font-consistent EPS R Plots Using tikzexternalize”

[R Scripts] Visualising Likert Scale Responses Using likert

I am working with a data set from a survey, carried out as part of a user experience study, and recently got into an interesting discussion with my supervisor regarding data visualization. We touched on a couple of important issues–when to graphically represent information, types of visualizations… He suggested I look into using diverging stacked bar plots. Continue reading “[R Scripts] Visualising Likert Scale Responses Using likert”

[R-scripts] ggplot2 Plot Collection on Github

Seeing as VERY few individuals will ever get to read my MSc dissertation [1], I have been thinking of other ways I can potentially scrap off bits of useful information from it. I have created a git repository [2], where I will dump all R generated plots. Hopefully, someone out there will find these R code snippets useful. Continue reading “[R-scripts] ggplot2 Plot Collection on Github”