PYTHON · OECD SDMX API · PANDAS · AIRFLOW · DOCKER

OECD Macro Dashboard

27 economic indicators for Australia, Canada and the United States, pulled from the OECD's public data API with this project's Python code. This page is a snapshot: the numbers were fetched once and saved, so nothing here calls the API.

About the project

My Data Platform is a Docker Compose setup for data engineering practice: Airflow with Postgres and Redis, Jupyter, and an ETL package that reads from the OECD. The pipeline is a work in progress. What is shown here comes from the exploration side of the repo: building OECD query URLs, fetching the series as SDMX-JSON and flattening them into tidy rows.

The charts started from the six sketched in oecd_test.py: inflation, GDP growth, unemployment, interest rates, trade balance and population. The rest come from the same six OECD datasets: the parts of GDP, unemployment by age and sex, employment, longer and shorter interest rates, share prices, the exchange rate, and exports and imports.

Growth rates and shares of GDP are worked out in the build script from the levels the OECD publishes. Each chart's note says when that is the case.

Source: OECD Data Explorer. Each chart links to the exact API query behind it. Data built by site/build_data.py.