demo/RJSDMX.R

# Copyright 2010,2014 Bank Of Italy
#
# Licensed under the EUPL, Version 1.1 or - as soon they
# will be approved by the European Commission - subsequent
# versions of the EUPL (the "Licence");
# You may not use this work except in compliance with the
# Licence.
# You may obtain a copy of the Licence at:
#
#
# http://ec.europa.eu/idabc/eupl
#
# Unless required by applicable law or agreed to in
# writing, software distributed under the Licence is
# distributed on an "AS IS" basis,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied.
# See the Licence for the specific language governing
# permissions and limitations under the Licence.
#

getProviders()
readline("\nType  <Return>\t to continue : ")

addProvider('TEST', "http://sdw-wsrest.ecb.europa.eu/service", F)

getProviders()
readline("\nType  <Return>\t to continue : ")

getFlows('ECB')
readline("\nType  <Return>\t to continue : ")

getDimensions('ECB', 'EXR')
readline("\nType  <Return>\t to continue : ")

ans=getTimeSeries('ECB', 'EXR.M.USD|GBP.EUR.SP00.A')
plot(ans[[1]], main=names(ans)[[1]])

getFlows('EUROSTAT')
readline("\nType  <Return>\t to continue : ")

getDimensions('EUROSTAT', 'prc_hicp_midx')
readline("\nType  <Return>\t to continue : ")

ans=getTimeSeries('EUROSTAT', 'prc_hicp_midx/..CP00.EU+DE+FR')
plot(ans[[1]], main=names(ans)[[1]])

sdmxHelp()

Try the RJSDMX package in your browser

Any scripts or data that you put into this service are public.

RJSDMX documentation built on Feb. 16, 2023, 6:10 p.m.