Download presentation
Presentation is loading. Please wait.
Published byBennett Hudson Modified over 8 years ago
1
Eurostat Mapping Assistant 11-13 May 2016 Eurostat, Unit B3 – IT solutions for statistical production Jean-Francois LEBLANC Christian SEBASTIAN 1
2
Eurostat Table of Contents 1.Objectives 2.What do we need before the demo 3.SDMX RI 4.Creation of the Mapping Store DB 1.Creation of the Mapping Store DB with Orcale 2.Creation of the Mapping Store DB with SQL Server 5.Mapping Assistant 1.First Start 2.Environment created 3.Category Scheme creation 4.Categories creation 5.Addition of the NA_MAIN DSD 2
3
Eurostat Table of Contents 6.Addition of the dataflow definition 7.Dataflow categoristaion 8.Connection to the dissemination DB 9.Dataset creation 10.Mapping Set creation 11.Mapping between the dissemination DB and the DSD 12.Transcoding 3
4
Eurostat 1. Objectives Launch Mapping Assistant for the first time Configure mapping store database (MASTORE_DB) Setup a dissemination tree for National Accounts Create a mapping between a NA DSD and the sample disseminiation database 4
5
Eurostat 2. What do we need before the demo Install an Oracle Db Create an empty database MASTORE_NA Create a demo database NA with some sample data Install SDMX-RI tools (xcopy ultimate versions) Mapping Assistant.net 5.7.0 TestClient.net 4.7.0 NSI Web Service Java 5.3.4 NSI Web Client Java 2.3.4 Configured Web Service and Web Client in Weblogic Downloaded SDMX-NA package (DSDs, Dataflows) 5
6
Eurostat 3. SDMX Reference Infrastructure https://webgate.ec.europa.eu/fpfis/mwikis/sdmx/index.php/SDMX_Reference_Infrastr ucture_SDMX-RI https://webgate.ec.europa.eu/fpfis/mwikis/sdmx/index.php/SDMX_Reference_Infrastr ucture_SDMX-RI 6 Dissemin ation DB DSD Mapping Store Mapping Store Test Client (Desktop Software) Test Client (Desktop Software) Web Service Data Consumer (external) NSI Client Local environment Is my dataflow working? Is my WS working?
7
Eurostat 4.1 Creation of the Mapping Sotre DB with Oracle 7 Display the SQL command prompt window. For example, on Windows, click Start, then Programs (or All Programs), then Oracle Database 11g Express Edition, and then Run SQL Command Line. Connect as SYSTEM user: Type: connect Enter user-name: system Enter password:
8
Eurostat 4.1 Creation of the Mapping Sotre DB with Oracle 8 Create the user: SQL> create user MSUSER identified by ; Grant the user the necessary privileges. For example: SQL> grant CREATE SESSION, ALTER SESSION, CREATE DATABASE LINK, CREATE MATERIALIZED VIEW, CREATE PROCEDURE, CREATE PUBLIC SYNONYM, CREATE ROLE, CREATE SEQUENCE, CREATE SYNONYM, CREATE TABLE, CREATE TRIGGER, CREATE TYPE, CREATE VIEW, UNLIMITED TABLESPACE to MSUSER ;
9
Eurostat 4.2 Creation of the mapping store DB with SQL server 9 Name your mapping store
10
Eurostat 4.2.1 Create an user 10 Create a user associated to a login used to access SQL Server
11
Eurostat 4.2.2 Grant the rights needed by the MA 11 You are ready!!!!
12
Eurostat 5.1 Mapping Assistant : first start 12
13
Eurostat 5.2 Environment created 13 If you now check your mapping store DB, you can see the Mapping Assistant has created all the tables needed
14
Eurostat 5.3 Category Scheme creation 14
15
Eurostat 5.4 Category creation Note: The Category Scheme and the Catgories below represents the "navigation tree" of the dissemination system. It can be customised as you wish. It will be displayed like you set it up here in the web client later on. In that example we only create a single Category. 15
16
Eurostat 5.5 Addition of the NA_MAIN DSD Note: Browse to Desktop Workshop SDMX-NA DSDs And choose ESTAT+NA_MAIN+1.4 Then wait a few seconds… 16
17
Eurostat 5.6 Addition of the dataflow definition Note: The download contains all National Accounts dataflows, but we only imported the NA_MAIN DSD. Thus an error may appear for non-NA_MAIN dataflows, which you can ignore. Browse for: C:\SDMX Training\Sources\Structure Files 17
18
Eurostat 5.7 Dataflow categoristaion 2 possibilites: Drag & drop Or Right-click Attach 18
19
Eurostat 5.8 Connection to the dissemination DB Settings: NA-Connection SqlServer localhost\SQLEXPRESS NA √ Enter login/password Test connection Save 19
20
Eurostat 5.9 Dataset Creation 20
21
Eurostat Select table and click OK 21
22
Eurostat 5.10 Mapping Set creation 22
23
Eurostat 5.11 Mapping between the dissemination DB and the DSD 23
24
Eurostat DatasetDSDComment FREQ TIME_FORMAT Transcode: A A, P1Y ADJUSTMENT Transcode: NOT_ADJ N Others 1:1 REF_AREAConstant: AT COUNTERPART_AREAConstant: W2 INSTR_ASSETConstant: _Z REF_PERIOD_DETAILConstant: C DECIMALSConstant: 2 TABLE_IDENTIFIERConstant: T0103 UNIT_MULTConstant: 6 COMPILING_ORGConstant: AT1 24
25
Eurostat 5.12 Transcoding 25
26
Eurostat 26
27
Eurostat Mapping Assistant 27
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.