The past month showed a flurry of activities around three things dear to our hearts – African data, maps, and R! See below for images & links to the beautiful maps that people made.
Thanks to the kind people from the R for Data Science Online Learning Community (R4DS), our {afrilearndata}
package was featured in the #TidyTuesday challenge of 9 November 2021.
The main goal behind #TidyTuesday is to help “data scientists practice their data wrangling and visualisation skills by providing weekly released, real-world datasets, and to encourage sharing of code to facilitate social learning” [1]. #TidyTuesday was started in April 2018 by Thomas Mock fromR4DS. The initiative is hosted on Twitter and anyone can access the weekly shared data set and submit their results along with the code under the hashtag #TidyTuesday.
Coincidentally the #30DayMapChallenge also runs on Twitter in November. This mapping/cartography/data visualization challenge was started by Topi Tjukanov in 2019 . For the past three years, Topi has been posting 30 themes – one for each day of November – which informs the global community what kind of map to focus on for the specific day. This challenge isn’t limited to maps developed in R, but participants are allowed to use any GIS tool to create their visualisations. Luckily, there’s a large overlap between the R community and geospatial community on Twitter, and the #30DayMapChallenge brought even more participants to the African mapping challenge set by #TidyTuesday.
It was great to see that participants in the two challenges did not only use data from the {afrilearndata}
package, but also a variety of other African datasets covering topics such as Polio vaccinations (OurWorldInData), wealth (World Bank), urban growth (OECD), urbanization (Natural Earth), electricity access (World Bank) and more.
We’d like to thank the community for their enthusiasm and the beautiful maps and code that was shared! We’ll definitely use this as inspiration for future afrimapr activities, community meetups and training. We learnt things ! For example, it can be tricky plotting population data because it is often not evenly distributed. There are often rare areas with very high densities and frequent areas with low densities, this can be difficult to display and led to exchanges about how best to present. We also learnt about ways to plot raster data in ggplot2 using as.data.frame.
Please join us in the R4DS Slack workspace where we have a dedicated channel to chat about maps, African data, and R – #chat-africa_maps. We also host monthly community calls where we do code walkthroughs and more! Follow us on Twitter or join the Google Group to be kept in the loop!
This article was first published on https://afrimapr.github.io/afrimapr.website/blog/. Read the full article here.