A sentiment analysis using tweets from January and February 2021

South Africa has administered over 100 000 covid-19 vaccines thus far to frontline healthcare workers. The government has an ambitious goal of vaccinating 67% of the population by the end of 2021. Achieving that goal will require two-thirds of the population to be willing to take the vaccine, which makes it crucial to know the sentiments people hold towards the vaccine. An analysis of just under 1 000 tweets posted in the first two months of this year reveals that South Africans expressed more positive sentiments about the vaccine than negative ones.

Sentiment analysis is an application of natural language…


An analysis of mobility from 15 February 2020 to 6 December 2020

South Africa went into a hard lockdown at midnight on the 26th of March this year, which was later termed alert level 5. Since then, the country has opened the economy and moved down to the lowest alert level. Although the country has been on alert level 1 for more than two months, mobility data indicates that there is still significantly less activity than before the onset of the lockdown. People are still spending substantially more time at home.

To provide insight into how covid-19 is affecting mobility across the world, Google has been providing community mobility reports since February…


A quick guide to animating your time series

A few weeks back I published an article analyzing the mobility trends in South Africa during 2020. Included in that article was a collection of animated time series plots that traced out the mobility trends over time to paint the picture of how mobility looked in the year marked by covid-19 lockdowns. In this article I will provide a walkthrough of the code for my analysis, focusing on creating animated time series plots like the one below.

Mobility trends for places of residence and work | Graph by author

The data we will use can be found on Google’s covid-19 community mobility reports page and has been included in my GitHub repository…


The first covid-19 case in South Africa was confirmed at the beginning of March in KwaZulu-Natal. Now, three months later, the country has accumulated over 50 000 confirmed cases across its nine provinces. All provinces have now crossed the 100 case mark, the commonly used starting point for cross region covid-19 statistical comparisons. The distribution of cases across provinces, and therefore the location of hotspots, is well documented. However, the relative performance of provinces in terms of infections and tests has not been explored to as great an extent.

In one of their March press briefings, the WHO suggested that…

Valentine Chisango

An aspiring actuary with a passion for data science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store