Open app

Blog

Welcome to the EconData Blog! This blog provides a growing number of tutorials to help users learn how to automate their workflows. Start off with our introduction 😀.

In this section

QLFS 1.1.1: reliable earnings and sample sizes

Version 1.1.1 of the QLFS dataset drops earnings estimates from very small samples, fills gaps between survey dates linearly, and shows how many respondents are behind each value.

South Africa's GDP, benchmarked and rebased to 2022

Version 2.1.0 of NATL_ACC holds StatsSA's benchmarked and rebased GDP: constant prices on a 2022 base, household consumption on COICOP 2018, and the back series to 1993. This post explains what changed and how to read it.

African Night Lights Release

Version 1.1.0 of the NIGHTLIGHTS dataset adds monthly national series for 53 African countries alongside the South African series. It also explains how we correct for the switch from the Suomi NPP to the NOAA-20 satellite in 2018.

Quarterly Bulletin version 1.2

Version 1.2 of the SARB Quarterly Bulletin datasets gives every bulletin since December 2004 as a separate vintage, on consistent series keys, with one patch version per base period. This post explains what changed and how to work with it in R.

Plotting QLFS mean earnings by education

A minimal R example that pulls mean monthly earnings by highest level of education from the QLFS, inflates them to the latest CPI month, and plots them as a bar chart.

Producer Price Index Expansion

StatsSA’s expanded, product-level producer price indices, published from January 2026, are on EconData in PPI version 1.3.0. This post covers the new economic activity dimension, the mnemonics and the vintages.

Plotting the Spatial Tax Panel from EconData

How to put EconData’s spatial data on a map: this R tutorial joins Spatial Tax Panel data to the Municipal Demarcation Board’s ward shapefile and maps median income by district.

Quarterly Labour Force Survey definition revisions

StatsSA’s 2025Q3 changes to the QLFS methodology, which align it with the 19th and 21st ICLS resolutions, take EconData’s QLFS dataset to version 1.1.0. This post explains the structural breaks, the new definitions, and how to map historical data onto them.

Provincial Dam Levels

A chart of total dam levels by province, from the Department of Water and Sanitation, that updates automatically every Monday evening.

Full Quarterly Bulletin Vintage History

The SARB Quarterly Bulletin’s full vintage history, from 2004Q3 to the latest quarter, is now free on EconData in version 1.1.4. This post covers how vintages are named, the updates between bulletins, and comparing series across vintages.

Expanded StatsSA National Accounts Dataflow

Version 2.0.0 of NATL_ACC adds every sheet of StatsSA’s GDP release, including expenditure, household consumption, capital formation and income components. To fit them, the series keys grow from three dimensions to five.

New CPI COICOP-5 categories (February 2025)

StatsSA’s February 2025 CPI publication rebased the index to December 2024, adding and removing COICOP 5-digit categories. This post lists them, as reflected in version 1.3.0 of CPI_COICOP_5.

Major changes with EconDataR version 4

Version 4 of econdatar makes read_dataset() return a single table by default instead of a list, which can break existing code. This post covers the new defaults, selecting series and dates, read_release() and installing a specific version.

Fast EconDataR Downloads

Use the series_key argument of read_dataset() to download only the series you need, which speeds up scripts that run repeatedly on large dataflows. Includes the key syntax and a speed test.

Analysing CPI Weights data

Jan-Hendrik imports the CPI Weights data into R with econdatar, then cleans, validates and plots the division-level weights from the 1970 and 2019 vintages.

How do I convert data to a lower frequency in EconData?

Convert downloaded data to a lower frequency in the EconData Excel add-in, for example from quarterly to annual, by choosing the frequency and clicking Recalculate.

Introducing EconData’s Python package

Announcing econdatapy, EconData’s experimental Python package for downloading time series data, with installation steps and an example of read.dataset().

How to append all the National Treasury dataflows together

EconData splits National Treasury data into several dataflows to keep downloads small. This post gives an R template for binding them back into one dataset, using the section and table dimensions of the series keys.

Working with EconData’s Public Finance Data

Use econdatar with National Treasury budget data to build three charts in R: an area chart of government debt composition, a hairy line plot of debt across budget releases, and a stacked bar chart of transfers to provinces.

Using EconData’s R package for forecasting and automation

A video showing how to load headline CPI with EconData’s R package, plot it and produce a forecast. The R script is in a companion post.

What is SDMX?

Why EconData is built on SDMX, the ISO standard for exchanging statistical data and metadata: its metadata-rich model supports data validation, governance and automated reporting.

EconData V3.0.0

A new release of the EconData platform adds a browsable category hierarchy and lets you select individual series, with breaking changes to the API (v3.0.0) and the R package. This post shows how to update your code.

Learning to code in R 

An introduction to Codera’s beginner-friendly guide to learning R for data handling, analysis and visualisation, with no coding experience needed.

EconData Excel Plugin installation

A video showing how to install and use the EconData Excel add-in.

Introducing our Excel Add-in

Announcing the EconData Excel add-in, which brings up-to-date South African economic data into Excel and converts it to lower frequencies or growth rates. This post walks through installing it and importing headline CPI.

Software investment in the banking industry

South African banks’ software assets grew tenfold between 2008 and 2022. This tutorial shows how to automate downloading any BA900 line item in R, with tips for data wrangling.

Over 12 million data points and counting

An introduction to the SARB’s BA900 bank-level balance sheet data on EconData, with an R example that reports on mortgage lending by the four largest banks.

Making use of vintage data

Data vintages show what was known at the time. This tutorial pulls every release of StatsSA’s GDP from EconData and builds a real-time series of GDP growth in R.

Automating a simple model

Build a naïve automated forecasting model in R: load headline CPI from EconData, let the forecast package choose an ARIMA model, and refresh the forecast by rerunning the script.

Charting and automation

Import data into R with econdatar and build a ggplot chart of year-on-year growth in total loans and advances, as a template you can rerun whenever you want the latest data.

Looking for data?

A walkthrough of the EconData app’s query menu: choosing a category, dataset, release and data key to find the series you want.

Introducing EconData

Why we built EconData: one central repository of South African economic data, with an open API and an R package for reproducible, automated workflows.