Welcome to Kiel Institute Africa Monitor

The Africa Monitor is a joint effort of the research center for Business Cylces and Growth and the Kiel Institute's Africa Initiative, to build an interactive platform that tracks leading economic indicators for 55 African economies, and to provides economic analysis as well as analytical tools to monitor economic developments in Africa. The monitor consists of several building blocks accessible through this website:


Data Stories

A collection of short analytical pieces on selected topics concerning Africa's economic development and global linkages, combining data and visualizations in interactive notebook formats.

Dashboard

Web-Application to interactively visualize monitor data and build custom charts.

Data Portal

Portal to access monitor data interactively and download it in various standard formats.

Data Catalog

Provides an overview of the indicators and countries available through the monitors database, and the sources from which data were collected.

API

Access monitor data through a dedicated R package.




Copyright © 2022, Sebastian Krantz | Legal Notice (Kiel Institute)

Data Stories

Data stories are short analytical pieces combining data visualizations and analysis to expound a topic concerning economic development in Africa.


Patterns of Innovation and Firm Growth in Nigeria

By Sophia Fehrenbacher - August 25, 2022

While the majority of Sub-Saharan African firms operate in resource constrained environments, analyzing innovation strategy among formally registered Nigerian firms shows that cooperation is a frequently used form of sourcing knowledge for innovative activities.


Africa's Integration into Global Value Chains

By Sebastian Krantz - June 28, 2022

This data story uses the EORA Global Supply Chain Database to map the structure of world production in value-added terms, with a specific emphasis on Africa's role as a provider and consumer of value-added, and as an emerging participant in Global Value Chains.


Logistics, Public Infrastructure and the Business Environment in Africa

By Sebastian Krantz - May 30, 2022

This data story provides a detailed analysis of logistic performance and the business environment across African economies. A particular focus is laid on the development of public infrastructure and its role in enhancing logistics and economic growth.


Africa's Foreign Trade

By Sebastian Krantz - March 4, 2022

A brief exposition of Africa's exports, imports and trade balance with the World and selected country groups.

Copyright © 2022, Sebastian Krantz | Legal Notice (Kiel Institute)

Select Data to Visualize





Interactive Correlation Matrix

Correlation Matrix


Download Data





Download

R Application Programming Interface (API)

The R package africamonitor provides direct access to data series in the Africa Monitor.

The API allows bulk download of the entire database or query of individual series. The functions am_sources() and am_series(), as well as the am_countries table provide information about the available data, analogous to the 'Data Catalog' tab. Country and series codes from these tables are needed to query data using the am_data() function. An additional am_entities table records country membership in various regional entities. The API is fully documented on the R help pages, calling help(africamonitor) after installation. A small demonstration is provided below.

Installation

The package can be installed from the R console by executing the following line of R code:

install.packages('africamonitor')

Example Usage

The following code downloads real GDP growth and Inflation for Uganda, Tanzania, Rwanda, and Kenya from 2000 onwards.


          
The africamonitor package also provides functions am_pivot_longer() and am_pivot_wider() to reshape data from the API.


          
The format of the data can also be set directly in the API call, the default option in am_data() is wide = TRUE.

The database stores data at all frequencies in a 'Date' column. The function am_expand_date() can be used to generate additional identifiers from the date for series at higher frequency. This function can also be invoked directly in the API call with option expand.date = TRUE.


          
The data is returned as a 'data.table' in R, and thus allows for easy further manipulation, such as computing rolling averages.


          
Copyright © 2022, Sebastian Krantz | Legal Notice (Kiel Institute)

About

The Africa Monitor provides research briefs (data stories), custom visualizations, and access to public macroeconomic data on Africa, allowing you to track macroeconomic developments across the continent. Data is collected from several public sources (mostly from the IMF and the World Bank) and updated once a month. The data is serviced to the monitor from a database hosted at the Kiel Institute for the World Economy, which can also be accessed directly through the africamonitor R API package.

Technical Details

This website was built using the shiny web-application framework in R, complemented with some custom HTML and CSS elements. Author: Sebastian Krantz.