From 02ebcd390431f92b953919fbcb32361f47a19609 Mon Sep 17 00:00:00 2001 From: eblondel Date: Mon, 26 Aug 2024 09:37:14 +0200 Subject: [PATCH] support #199 --- DESCRIPTION | 2 +- R/SDMXServiceProvider-methods.R | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1751e35..5d5682c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: rsdmx Version: 0.6-4 -Date: 2024-01-24 +Date: 2024-08-26 Title: Tools for Reading SDMX Data and Metadata Authors@R: c( person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "emmanuel.blondel1@gmail.com", comment = c(ORCID = "0000-0002-5870-5762")), diff --git a/R/SDMXServiceProvider-methods.R b/R/SDMXServiceProvider-methods.R index d216b9b..b333c38 100644 --- a/R/SDMXServiceProvider-methods.R +++ b/R/SDMXServiceProvider-methods.R @@ -292,13 +292,24 @@ setSDMXServiceProviders <- function(){ # nocov start ) ) + #ISTAT - LEGACY (Italy) + ISTAT_LEGACY <- SDMXServiceProvider( + agencyId = "ISTAT_LEGACY", name = "Istituto nazionale di statistica (Italia)", + scale = "national", country = "ITA", + builder = SDMXREST21RequestBuilder( + regUrl = "http://sdmx.istat.it/SDMXWS/rest", + repoUrl = "http://sdmx.istat.it/SDMXWS/rest", + compliant = TRUE + ) + ) + #ISTAT (Italy) ISTAT <- SDMXServiceProvider( agencyId = "ISTAT", name = "Istituto nazionale di statistica (Italia)", scale = "national", country = "ITA", builder = SDMXREST21RequestBuilder( - regUrl = "http://sdmx.istat.it/SDMXWS/rest", - repoUrl = "http://sdmx.istat.it/SDMXWS/rest", + regUrl = "https://esploradati.istat.it/SDMXWS/rest", + repoUrl = "https://esploradati.istat.it/SDMXWS/rest", compliant = TRUE ) ) @@ -549,7 +560,7 @@ setSDMXServiceProviders <- function(){ # nocov start #international BIS, ECB, ESTAT,ESTAT_COMEXT, ESTAT_COMP, ESTAT_GROW, ESTAT_EMPL, IMF, OECD, UNICEF, CD2030, UNSD, ILO_Legacy, ILO, WBG_WITS, WB, PDH, #national - ABS, NBB, INSEE, INEGI, ISTAT, NOMIS, LSD, NCSI, STAT_EE, BBK, + ABS, NBB, INSEE, INEGI, ISTAT_LEGACY, ISTAT, NOMIS, LSD, NCSI, STAT_EE, BBK, #others KNOEMA )