How the Ghana Floods animation was created

How the Ghana Floods animation was created
(This article was first published on R – Data Science Africa, and kindly contributed to R-bloggers)

Ghana has always been getting flooded, but it seems that only floods in Accra are getting attention. I wrote about it here, and the key visualization was an animated map showing the floods in Ghana, and built in R. In this post, I document how I did it, hopefully you can do one also!
file1ce037965c4d

Before we start, there are a number of things we will need:

  • Flooding data
  • Packages

Read the rest of this post