Welcome on the website “Ghana Data Stuff”. This is a portfolio website I built to showcase some of the side projects I am working on at night, while working on more ‘official’ statistics for Ghana during the day. The original name of this project was “Ghana Data Science”, but then I realized that I do not really want to do any science. I just want to play with data a bit, hence the name “Ghana Data Stuff”. This also means that I will try not to do the same type of project more than once or twice. For every post, I will challenge myself to use a new technique, R Package, Python Library, coding language or other skill. I will then write out a little walk-through documenting my work flow. So, the posts on this website are not detailed tutorials, but should be sufficiently documented for readers to replicate the results for themselves. If you have any good ideas for a project, let me know and we can work on it together.
So to clarify, nothing on this website should serve an ‘official’ statistic or even be interpreted as being reliable or verified.
In this walkthrough I show how to use R to scrape and analyse data from Wikipedia and then vizualise the results in a somewhat over-eloborate circular heatmap
In this walkthrough I show how to use R to dowload population density data for a country and then how transform that data into interactive leaflet maps and a animation
In this walkthrough I show how to use Comtradr API to download trade data and then visualize, in an overly complex way, this data using D3.js and Globe.gl. Have fun playing with it
In this walkthrough I show how to use Rvest to scrape the speeches from the Ghanaian president on the topic of COVID-19 and how to use tidytext and SpacyR in R to do a sentiment analysis on these speeches to analyse them.
This walkthrough shows you how to download multispectral satellite (sentinel-2) in R, calculate the NDVI, create spatial statistics for different neighbourhoods using shapefiles, and plot the results. Spoiler: the University of Ghana Campus is the greenest neigbourhood in Accra.