SlideShare a Scribd company logo
SDMX DATA APIS
Jakob Fix, Digital Engineering Manager
Public Affairs and Communications Directorate
Introduction
• About the OECD
• Statistics
• The SDMX standard
• Explore the OECD SDMX API
• Hands-on exercise with the ECB API
2
About the OECD
• 1948: OEEC to implement Marshall Plan
• 1961: OEEC reformed to become OECD
• Today 38 member countries, latest to become a member: Costa Rica
• Not just economy, but labour, trade, environment, education, trade,
technology, (even the Blockchain and artificial intelligence)
• Activities include:
• Collect data from member countries and other sources
• Analyse trends and developments
• Provide advice to policy makers
• Publish to disseminate knowledge (Freemium model )
3
PISA
• “Programme for International Student Assessment”
• 80+ countries
• Every three years (unless Covid)
• 600k students representing 32m+ 15 yr-olds
• Goal is to help countries improve their educational
systems, by learning from others
• You can test yourself: https://www.oecd.org/pisa/test/
BEPS
• Initiative to end Base Erosion and Profit Shifting
• 135+ countries to end tax avoidance by multinational
enterprises (MNE)
• Agreed in 2021
• Many tax avoidance mechanisms neutralised
• Recover taxes (between 100 and 240B USD pa lost)
• 15% tax rate for MNEs
• One of the 15 actions is on “Data Analysis”
• More information: https://www.oecd.org/tax/beps/
International Statistics
• International organisations (e.g. World Bank, OECD, IMF, BIS,
United Nations, Eurostat, ILO, FAO)
• National statistics institutes (e.g. ONS in UK, Census Bureau in US,
INSEE in France)
• Collect data from member countries (and beyond) to advance
research
• Data is messy, data providers have different standards and change
over time
• Lots of time spent to normalise data and make it comparable
• Exchange mechanisms were email and FTP
SDMX to the rescue
• 2002: Statistical Data and Metadata eXchange Initiative
• Today a living ISO standard maintained by the community via
SDMX.org
• Goals are to
• Exchange data robustly between parties
• Accompany data with sufficient and unambiguous metadata
• Initially intended for Electronic Data Interchange (EDI)
• Later extended to also be useful in web-based applications
using RESTful APIs
It’s all about the context
42
Switzerland
2021
(in percent)
Women parliamentarians
Observation
Dimension
Dimension
Dimension
Dimension
Let’s look at some metadata
SDMX API URL Structure
• https://stats.oecd.org/ ⇒ protocol and host
• restsdmx/sdmx.ashx/GetData/ ⇒ path to endpoint
• DP_LIVE/ ⇒ flowRef (or dataset identifier)
• AUS.WOMENPOLVOICE.MINISTERWOMEN+POLREP
RES.PC.A ⇒ key (combination of
dimensions)
Hands-on programming with Python
• Open the Jupyter notebook, or the Colaboratory project
Thank you!
• (Resources on the next slide)
Resources
• Documentation
• SDMX documentation: https://www.sdmx.org/
• OECD Data API SDMX-XML documentation: https://data.oecd.org/api/sdmx-ml-documentation/
• ECB SDMX API documentation: https://sdw-wsrest.ecb.europa.eu/help/
• The Python exercise is based in large parts on this walkthrough:
https://pandasdmx.readthedocs.io/en/v1.0/walkthrough.html
• Another, older Python example: https://www.pythonsherpa.com/tutorials/4/
• Implementations
• OECD Data Portal: https://data.oecd.org/
• OECD Compare your Country: https://www.compareyourcountry.org/
• IPAC dashboard (uses React components that encapsulate the data retrieval and the chart creation):
https://www.oecd.org/climate-action/ipac/dashboard
• Tools
• Python library pandaSDMX: https://pandasdmx.readthedocs.io/en/v1.0/

More Related Content

PPTX
2016 SDMX Experts meeting, Opening of SDMX Capacity Building - Introduction ...
PDF
JSON-stat in the Sea of Standards
PPTX
Session 6 ILO Edgardo SDMX-at-ILO pptx
DOC
SDMX_Global_Conf_2007_Agenda.doc presentation
PPTX
2016 SDMX Experts meeting, Implementing SDMX standards from production to dis...
PPSX
Meeting today’s dissemination challenges – Implementing International Standar...
PPTX
2016 SDMX Experts meeting, How to collect data using SDMX? Hubertus Cloodt, A...
PPTX
2016 SDMX Experts meeting, SDMX system in the Banco de España, Eduardo Bollo
2016 SDMX Experts meeting, Opening of SDMX Capacity Building - Introduction ...
JSON-stat in the Sea of Standards
Session 6 ILO Edgardo SDMX-at-ILO pptx
SDMX_Global_Conf_2007_Agenda.doc presentation
2016 SDMX Experts meeting, Implementing SDMX standards from production to dis...
Meeting today’s dissemination challenges – Implementing International Standar...
2016 SDMX Experts meeting, How to collect data using SDMX? Hubertus Cloodt, A...
2016 SDMX Experts meeting, SDMX system in the Banco de España, Eduardo Bollo

Similar to Fix "SDMX Data APIs" (20)

PPTX
2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...
PPT
Formats and Tools for Data Transmission
PPTX
Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...
PPTX
2016 SDMX Experts meeting, The Africa Information Highway: facilitating data ...
PPTX
Experimental transformation of ABS data into Data Cube Vocabulary (DCV) form...
PPTX
SDMX-implementation-status.pptx presentation
PPT
Un millennium development goals indicators
PPTX
2016 SDMX Experts meeting, SDMX Implementations in World Bank, Siddhesh Kaushik
PPT
Sdmx at us federal reserve
PPTX
2016 SDMX Experts meeting, Making data discoverable in SDMX, Andreas Hake
PPTX
2016 SDMX Experts meeting, Implementation of SDMX RI at INS, Kamel Abdellaoui
PPTX
Sdmx2 context
PPTX
The oecd delta project – providing easier access to data through api's
DOC
SDMX_Global_Conf_2007_Capacity_building.doc
PDF
rsdmx - Tools for reading SDMX data and metadata in R
ODP
Census Hub Project
PPTX
2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...
PPTX
2016 SDMX Experts meeting, Using SDMX to enable data-sharing for analytical a...
PPTX
20191127 s1 p-lmis platforms_en
PPTX
V. Del Vecchio - Sdmx versus other standards
2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...
Formats and Tools for Data Transmission
Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...
2016 SDMX Experts meeting, The Africa Information Highway: facilitating data ...
Experimental transformation of ABS data into Data Cube Vocabulary (DCV) form...
SDMX-implementation-status.pptx presentation
Un millennium development goals indicators
2016 SDMX Experts meeting, SDMX Implementations in World Bank, Siddhesh Kaushik
Sdmx at us federal reserve
2016 SDMX Experts meeting, Making data discoverable in SDMX, Andreas Hake
2016 SDMX Experts meeting, Implementation of SDMX RI at INS, Kamel Abdellaoui
Sdmx2 context
The oecd delta project – providing easier access to data through api's
SDMX_Global_Conf_2007_Capacity_building.doc
rsdmx - Tools for reading SDMX data and metadata in R
Census Hub Project
2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...
2016 SDMX Experts meeting, Using SDMX to enable data-sharing for analytical a...
20191127 s1 p-lmis platforms_en
V. Del Vecchio - Sdmx versus other standards
Ad

More from National Information Standards Organization (NISO) (20)

PPTX
Larry Bennett_ ALA Annual Convention 2025AL2 slides.pptx
PPTX
Potash "Our Journey & Vision for Accessible Content"
PPTX
O'Leary "Progress Assessment - How Far Are We from Delivery"
PPTX
Carpenter and O'Leary "Accessibility Standards and the Future of Inclusive Pu...
PPTX
Davidian "Transfer Code of Practice Standing Committee Update"
PPTX
Patham "NISO Open Discovery Initiative (ODI) Update"
PPTX
Hichliffe "A Standard Terminology for Peer Review"
PPTX
Levin "KBART RP Update at ALA Annual 2025"
PPTX
Carpenter "Advancing Infrastructure for Sustainable Collections: CCLP Project...
PPTX
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
PPTX
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
PDF
Carpenter "2025 NISO Annual Members Meeting"
PPTX
Allen "Social Marketing in Scholarly Communications"
PPTX
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
PDF
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
PDF
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
PPTX
Gilstrap "Accessibility Essentials: A 2025 NISO Training Series, Session 7, M...
PPTX
Turner "Accessibility Essentials: A 2025 NISO Training Series, Session 7, Lan...
PPTX
Comeford "Accessibility Essentials: A 2025 NISO Training Series, Session 7, A...
PPTX
Laverick and Richard "Accessibility Essentials: A 2025 NISO Training Series, ...
Larry Bennett_ ALA Annual Convention 2025AL2 slides.pptx
Potash "Our Journey & Vision for Accessible Content"
O'Leary "Progress Assessment - How Far Are We from Delivery"
Carpenter and O'Leary "Accessibility Standards and the Future of Inclusive Pu...
Davidian "Transfer Code of Practice Standing Committee Update"
Patham "NISO Open Discovery Initiative (ODI) Update"
Hichliffe "A Standard Terminology for Peer Review"
Levin "KBART RP Update at ALA Annual 2025"
Carpenter "Advancing Infrastructure for Sustainable Collections: CCLP Project...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Carpenter "2025 NISO Annual Members Meeting"
Allen "Social Marketing in Scholarly Communications"
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
Gilstrap "Accessibility Essentials: A 2025 NISO Training Series, Session 7, M...
Turner "Accessibility Essentials: A 2025 NISO Training Series, Session 7, Lan...
Comeford "Accessibility Essentials: A 2025 NISO Training Series, Session 7, A...
Laverick and Richard "Accessibility Essentials: A 2025 NISO Training Series, ...
Ad

Recently uploaded (20)

PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Business Ethics Teaching Materials for college
PPTX
Pharma ospi slides which help in ospi learning
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Classroom Observation Tools for Teachers
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Basic Mud Logging Guide for educational purpose
Renaissance Architecture: A Journey from Faith to Humanism
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial disease of the cardiovascular and lymphatic systems
VCE English Exam - Section C Student Revision Booklet
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Business Ethics Teaching Materials for college
Pharma ospi slides which help in ospi learning
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O5-L3 Freight Transport Ops (International) V1.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Classroom Observation Tools for Teachers
STATICS OF THE RIGID BODIES Hibbelers.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

Fix "SDMX Data APIs"

  • 1. SDMX DATA APIS Jakob Fix, Digital Engineering Manager Public Affairs and Communications Directorate
  • 2. Introduction • About the OECD • Statistics • The SDMX standard • Explore the OECD SDMX API • Hands-on exercise with the ECB API 2
  • 3. About the OECD • 1948: OEEC to implement Marshall Plan • 1961: OEEC reformed to become OECD • Today 38 member countries, latest to become a member: Costa Rica • Not just economy, but labour, trade, environment, education, trade, technology, (even the Blockchain and artificial intelligence) • Activities include: • Collect data from member countries and other sources • Analyse trends and developments • Provide advice to policy makers • Publish to disseminate knowledge (Freemium model ) 3
  • 4. PISA • “Programme for International Student Assessment” • 80+ countries • Every three years (unless Covid) • 600k students representing 32m+ 15 yr-olds • Goal is to help countries improve their educational systems, by learning from others • You can test yourself: https://www.oecd.org/pisa/test/
  • 5. BEPS • Initiative to end Base Erosion and Profit Shifting • 135+ countries to end tax avoidance by multinational enterprises (MNE) • Agreed in 2021 • Many tax avoidance mechanisms neutralised • Recover taxes (between 100 and 240B USD pa lost) • 15% tax rate for MNEs • One of the 15 actions is on “Data Analysis” • More information: https://www.oecd.org/tax/beps/
  • 6. International Statistics • International organisations (e.g. World Bank, OECD, IMF, BIS, United Nations, Eurostat, ILO, FAO) • National statistics institutes (e.g. ONS in UK, Census Bureau in US, INSEE in France) • Collect data from member countries (and beyond) to advance research • Data is messy, data providers have different standards and change over time • Lots of time spent to normalise data and make it comparable • Exchange mechanisms were email and FTP
  • 7. SDMX to the rescue • 2002: Statistical Data and Metadata eXchange Initiative • Today a living ISO standard maintained by the community via SDMX.org • Goals are to • Exchange data robustly between parties • Accompany data with sufficient and unambiguous metadata • Initially intended for Electronic Data Interchange (EDI) • Later extended to also be useful in web-based applications using RESTful APIs
  • 8. It’s all about the context 42 Switzerland 2021 (in percent) Women parliamentarians Observation Dimension Dimension Dimension Dimension
  • 9. Let’s look at some metadata
  • 10. SDMX API URL Structure • https://stats.oecd.org/ ⇒ protocol and host • restsdmx/sdmx.ashx/GetData/ ⇒ path to endpoint • DP_LIVE/ ⇒ flowRef (or dataset identifier) • AUS.WOMENPOLVOICE.MINISTERWOMEN+POLREP RES.PC.A ⇒ key (combination of dimensions)
  • 11. Hands-on programming with Python • Open the Jupyter notebook, or the Colaboratory project
  • 12. Thank you! • (Resources on the next slide)
  • 13. Resources • Documentation • SDMX documentation: https://www.sdmx.org/ • OECD Data API SDMX-XML documentation: https://data.oecd.org/api/sdmx-ml-documentation/ • ECB SDMX API documentation: https://sdw-wsrest.ecb.europa.eu/help/ • The Python exercise is based in large parts on this walkthrough: https://pandasdmx.readthedocs.io/en/v1.0/walkthrough.html • Another, older Python example: https://www.pythonsherpa.com/tutorials/4/ • Implementations • OECD Data Portal: https://data.oecd.org/ • OECD Compare your Country: https://www.compareyourcountry.org/ • IPAC dashboard (uses React components that encapsulate the data retrieval and the chart creation): https://www.oecd.org/climate-action/ipac/dashboard • Tools • Python library pandaSDMX: https://pandasdmx.readthedocs.io/en/v1.0/