sdmx10 client
TRANSCRIPT
SDMX 10 Client
UN/FAO - Erik van IngenAbuja, Nigeria, 13-14 May 2015
RSDMX
rsdmx - Tools for reading SDMX data and metadata in R
• First initiative to read SDMX in R made available to the R community
• Generic SDMX abstraction library in R language, with a large bandwidth of use:
– Support for SDMX 1.0, 2.0 and 2.1 standard formats
– Read SDMX documents from remoteor local sources, with no restriction to SDMX standard web-services
• Capacity to read:– Data
Variety of formats (generic, compact, etc.)
– Metadata
Data structure definition (DSD), includingCodelists, Concepts, etc.
rsdmx in action• readSDMX() a unique function, whatever it is data or metadata!
sdmx <- readSDMX(dataURL)
• as.data.frame() converts the data into the easy-to-use tabular R data.frame object
data <- as.data.frame(sdmx)
• Perspectives– Enhancing the core reading functions
• Support for more SDMX document types• Support for new reading methods (e.g. Simple API for XML)
– Towards a writeSDMX() function, for sharing derivate data in SDMX format– Build user- friendly interfaces to query SDMX services
• More examples– https://github.com/opensdmx/rsdmx/wiki#62-examples
• More information– https://github.com/opensdmx/rsdmx/wiki– http://cran.r-project.org/web/packages/rsdmx
SDMX Connectors
Installation
• Open cmd box, type java –version (do you have at least java 6?)
• Pull down the git repo
• Install Ant (http://ant.apache.org/) and add it to your path
• Follow the build instructions from https://github.com/amattioc/SDMX/wiki/SDMX-Connector-library-for-JAVA
• Run the SDMX Helper tool
Practice
install SDMX Connectors
install RSDMX
Useful links
All the SDMX data providers listed!
https://github.com/amattioc/SDMX/wiki/SDMX-Data-Queries:-HowTo#useful-links
thank you