Trad ade SD SDMX via U a UNGP Markie Muryawan @ UNSD 2019 Intro - - PowerPoint PPT Presentation

trad ade sd sdmx via u a ungp
SMART_READER_LITE
LIVE PREVIEW

Trad ade SD SDMX via U a UNGP Markie Muryawan @ UNSD 2019 Intro - - PowerPoint PPT Presentation

Trad ade SD SDMX via U a UNGP Markie Muryawan @ UNSD 2019 Intro ro 3 What i is SDM DMX? Full harmonization of Data Statistical Full automation of Data exchange Data & standardising and modernising


slide-1
SLIDE 1

Trad ade SD SDMX via U a UNGP

Markie Muryawan @ UNSD 2019

slide-2
SLIDE 2
slide-3
SLIDE 3

Intro ro

3

slide-4
SLIDE 4

What i is SDM DMX?

  • Full harmonization of Data
  • Full automation of Data exchange

“…standardising and modernising (“industrialising”) the mechanisms and processes for the exchange of statistical data and metadata among international

  • rganisations and their member countries.”

Statistical Data &

Metadata

eXchange

slide-5
SLIDE 5

Ha Harmon

  • nization
  • n
  • Common data set labels/

variable names/ column names

Common set of “Concept”

  • Common code list for each

Concept (variable/ column/ label)

  • Common tools

Partner country COUNTERPART_ AREA_1 Origin/ destination Central African Republic République Centrafricain CAR CF

slide-6
SLIDE 6

Ha Harmon

  • nization
  • n

So basically from this… To this…

slide-7
SLIDE 7
  • From this…
  • To this…

Autom

  • mation
  • n
slide-8
SLIDE 8

Some k e key t terminol

  • logi

gies

Concept:

  • In Statistical term  a variable.
  • In international trade data sets, often a column.
  • For example:
  • Mode of transport (TRANSPORT_MODE_BORDER)
  • Unit of measure (UNIT_MEASURE)

SDMX aims to harmonize the concept scheme (a fixed set of concepts with common names and code lists)

slide-9
SLIDE 9

Some k e key t terminol

  • logi

gies

Measurement: Concept denoting the key observation (FOB, CIF, Net Weight, Quantity) Dimension: Concept which, together with other concepts uniquely identify the record.

  • For example: Commodity code (COMMODITY_1)

Attribute: Concept which provide additional information about the record, but is not required to uniquely identify it.

  • For example: Unit multiplier (UNIT_MULT)

Code list: A list of all acceptable values of a concept.

slide-10
SLIDE 10

Some k e key t terminol

  • logi

gies

Data Structure Definition:

  • A data model that

specifies all concepts, their role, and their code lists or formats

slide-11
SLIDE 11

Data transmission is automatic, no ad-hoc transformation needed

Fast & Easy

All parties transmitting and receiving data according to same standards

Reduced response burden

Harmonization of concepts and code lists

Error minimization

Better tools to ensure security and confidentiality

Improved security

Why S SDMX?

slide-12
SLIDE 12

Go Governan ance

12

slide-13
SLIDE 13

SDMX-IMTS W Worki king G ng Group

UN OECD Eurostat ITC UNCTAD IMF

13

slide-14
SLIDE 14

What d do we want

For the transmission of global IMTS data and metadata: Uniform structures/ data model; Common concept definitions and; Harmonized code lists And that everyone uses it!

14

slide-15
SLIDE 15

Brief f Timeline

2001

  • International initiative

2008

  • UN Statistical Commission endorsement

2013

  • Inter-agency working group

2015

  • Global consultation

2016

  • SDMX-IMTS version 1.0

2017

  • Pilot projects

2018

  • SDMX-IMTS version 1.1 + Regional Training

2019

  • Implementation Phase – Database hosted by UNGP

15

slide-16
SLIDE 16

Mainten enance e Agreem eemen ent: W Who’

  • ’s who

Name Ownership Maintenance Major Stakeholders Update(s)

IMTS OG-IMTS (formerly SDMX-IMTS Working Group) (Eurostat, UNSD, OECD) Informing ITC, IMF and UNCTAD UNSD Task Force – International Trade Statistics Annual and fast-track

16

slide-17
SLIDE 17

Mainten enance e Agreem eemen ent: Ho How

  • Code lists split into three categories

SDMX Cross-Domain Code Lists (CDCLs) Code lists based on SDMX Cross-Domain Code Lists or National Accounts (NA), Balance of Payments (BOP) and Foreign Direct Investment (FDI) SDMX IMTS owned code lists (IMTS)

  • Maintenance depends on those categories

17

slide-18
SLIDE 18

Code list ID Concept(s) Source/Maintenance Type

CL_FREQ Frequency SDMX.CL_FREQ (2.0)

CDCL

CL_AREA Reference area BoP DSD CL_AREA 1.8 + IMTS (1.1)

MES-E

CL_TRADE_FLOW Trade flow IMTS (1.1)

IMTS

CL_COMMODITY Commodity code IMTS (1.1)

IMTS

CL_COMMODITY_CUSTOM_BREAKDOWN Custom commodity breakdown ID IMTS (1.1)

IMTS

CL_TRANSPORT_MODE Mode of transport at the border IMTS (1.0)

IMTS

CL_CUSTOMS_PROC Customs or statistical procedure IMTS (1.0)

IMTS

CL_ACTIVITY Economic activity IMTS (1.0)

IMTS

CL_TRANSFORMATION Transformation SNA CL_TRANSFORMATION 1.2

MES

CL_MEASURE Observation (measure) type IMTS (1.1)

IMTS

CL_UNIT_MULT Unit multiplier SDMX.CL_UNIT_MULT (1.1)

CDCL

CL_UNIT Unit of measure BoP DSD CL_UNIT v1.9 + IMTS (1.1)

MES-E

CL_TRADE_SYSTEM Trade System IMTS (1.0)

IMTS

CL_PARTNER_TYPE Type of primary partner area IMTS (1.0)

IMTS

CL_OBS_STATUS Observation Status SDMX.CL_OBS_STATUS (2.1)

CDCL

18

slide-19
SLIDE 19

Gl Global al I IMTS Da Data S Stru ruct cture De e Definition

19

slide-20
SLIDE 20

This is Seychelles monthly trade data

All columns in this table are Concepts.

slide-21
SLIDE 21

This is Seychelles monthly trade data

Qty, NetWeight and USDValue are Measurement.

slide-22
SLIDE 22

This is Seychelles monthly trade data

SU is an attribute, rest are dimensions.

slide-23
SLIDE 23

SDMX-IMTS D DSD: : Dimen ension

  • n

FREQ TIME_PERIOD REF_AREA TRADE_FLOW COMMODITY_1 COMMODITY_1_CONF COMMODITY_2 COMMODITY_2_CONF COMMODITY_CUSTOM_BREAKDOWN Frequency Reference period Reference area Trade flow Commodity code Confidentialized commodity code Commodity code Confidentialized commodity code Custom commodity breakdown

23

slide-24
SLIDE 24

SDMX-IMTS D DSD: : Dimen ension

  • n (cont

nt.)

COUNTERPART_AREA_1 COUNTERPART_AREA_1_CONF COUNTERPART_AREA_2 COUNTERPART_AREA_2_CONF TRANSPORT_MODE_BORDER TRANSPORT_MODE_BORDER_CONF CUSTOMS_PROC ECONOMIC_ACTIVITY TRANSFORMATION MEASURE Primary partner area Confidentialized primary partner area Additional partner area Confidentialized additional partner area Mode of transport at the border Confidentialized mode of transport at the border Customs or statistical procedure Economic activity Transformation Type of measure

24

slide-25
SLIDE 25

SDMX-IMTS D DSD: : Attri ributes

UNIT_MULT UNIT_MEASURE COMMENT_OBS TRADE_SYSTEM COMMODITY_CUSTOM_BREAKDOWN_CODE COMMODITY_CUSTOM_BREAKDOWN_DESC COUNTERPART_AREA_1_TYPE COUNTERPART_AREA_2_TYPE COUNTERPART_AREA_1_ANNOTATION COUNTERPART_AREA_2_ANNOTATION OBS_STATUS Unit multiplier Unit of measure Comments to the observation value Trade System Custom commodity breakdown code Custom commodity breakdown description Type of primary partner area Type of additional partner area Annotation of primary partner area Annotation of additional partner area Observation Status

25

slide-26
SLIDE 26

Challenges for r Trade s statistics

  • Original commodity code may be longer than code list element.
  • Need to retain multiple commodity classifications revisions.
  • Multiple measures not supported properly in current version.
  • DSD large in size.
  • No way to “turn off” unused dimensions.

26

slide-27
SLIDE 27

Example

27

DSD with basic data

slide-28
SLIDE 28

28

2010 Annual Exports of HS 010410 (according to HS 2012) from Germany to Ghana (Last Known Destination) with Spain as the Second Partner (Country

  • f Consignment). The

transmitted value is FOB and the amount is 300 million

  • Euros. Mode of Transport is by

land.

slide-29
SLIDE 29

Data t transform rmation f for S r SDMX

REFERENCE PERIOD FREQ FLOW PARTNER COMMODITY MODE_TR QTY QTY_UNIT NET_WEIGHT NTWEIGHT_UNIT CIF Turkey 201701 M M Netherlands 970000 Road 500 items 200 kg 2624

  • QTY, NET_WEIGHT and CIF are all Primary Measures.
  • As per SDMX standard, each of them will have to be specified by their values

(OBS_VALUE), nature of that value (MEASURE, e.g. CIF), and unit of the measure (UNIT_MEASURE, e.g. Turkish Lira), in addition to all other dimensions and mandatory attributes.

  • So in this case, we create 3 rows from this one row.
slide-30
SLIDE 30

REFERENCE PERIOD FREQ FLOW PARTNER COMMODITY MODE_TR QTY QTY_UNIT NET_WEIGHT NTWEIGHT_UNIT CIF Turkey 201701 M M Netherlands 970000 Road 500 items 200 kg 2624

REFERENCE PERIOD FREQ FLOW PARTNER COMMODITY MODE_TR MEASURE OBS_VAL UNIT Turkey 201701 M M Netherlands 970000 Road QTY 500 items Turkey 201701 M M Netherlands 970000 Road NET_WEIGHT 200 kg Turkey 201701 M M Netherlands 970000 Road CIF 2624 lira

slide-31
SLIDE 31

UNGP NGP

31

slide-32
SLIDE 32

Use UNGP as Secured Storage of Data and Mapping

slide-33
SLIDE 33

Step 1. Upload (regular frequency)

slide-34
SLIDE 34

Step 2. Mapping

slide-35
SLIDE 35

Step 3. Extract

slide-36
SLIDE 36

Common SDMX Tools

a) DSD Wizard for generating DSD in XML format b) Mapping Assistant for connecting input database (hosted by UN Global Platform) and global DSD by applying mapping rules c) SQL Server Management Studio for running queries against the input database d) Python to prepare and upload new / revised data e) Test Client and SDMX Web Services for integrating Mapping Assistant for windows and web output, respectively f) Eurotrace for testing generic SDMX output modules g) XML Explorer for opening/viewing large XML files (DSD) h) Fusion Registry Community Edition to manage large trade DSDs

slide-37
SLIDE 37

DB Status during Workshop

slide-38
SLIDE 38

Capacity B Building

38

slide-39
SLIDE 39

Concern rns i identifi fied in the consultation

Differences with existing (national) standards

Inconsistency

Huge data volumes

Impracticality

Need for investment to upgrade/build

IT system

Lack of understanding

Knowledge

Capacity to make records confidential

Confidentiality

39

slide-40
SLIDE 40

So far

slide-41
SLIDE 41

Finally: C : Capacity ty Building S Strategies

Awareness Training programmes Training for Trainers programmes Implementation Projects Legal Framework Tools Development Cross-standard Fertilization Manuals and Guidelines E-learning module

41

slide-42
SLIDE 42

Dem Demo

Mapping Assistant and Test Client

42