Skip to content

Commit

Permalink
fix and clean-up oecd
Browse files Browse the repository at this point in the history
  • Loading branch information
amattioc committed Jun 12, 2024
1 parent 355037f commit deb7f09
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 114 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240529-1428
20240612-1102

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,12 @@ else if (startElement.getName().getLocalPart().equals(OBS) && data)
else if (event.isEndElement() && event.asEndElement().getName().getLocalPart() == (SERIES))
{
PortableTimeSeries<Double> ts = new PortableTimeSeries<>(dataflow, metadata.getKey(), metadata.getValue(), obs);
tsList.putIfAbsent(ts.getName(), ts);
Collections.sort(ts);
tsList.put(ts.getName(), ts);
obs = new ArrayList<>();
}
}

//make sure the time series is ordered by time
for (PortableTimeSeries<Double> tts: result)
Collections.sort(tts);


if (message != null)
result.setMessage(message);
result.setData(new ArrayList<PortableTimeSeries<Double>>(tsList.values()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ WB = false, true, V2, World Bank - World Development Indicators,
#
# Providers implementing .Stat API (extend DotStat.class)
NBB = false, true, V2, National Bank Belgium, https://stat.nbb.be/RestSDMX/sdmx.ashx
UIS = false, true, V2, Unesco Institute for Statistics, http://data.uis.unesco.org/RestSDMX/sdmx.ashx
OECD = false, false, V2, Organisation for Economic Co-operation and Development,https://stats.oecd.org/restsdmx/sdmx.ashx
OECD_RESTR = true, false, V2, Organisation for Economic Co-operation and Development - RESTRICTED ACCESS, https://stats.oecd.org/restsdmx/sdmx.ashx/
UIS = false, true, V2, Unesco Institute for Statistics, http://data.uis.unesco.org/RestSDMX/sdmx.ashx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class FilterProvidersToTest
// "IMF2", // has rate limit
"ISTAT",
"ISTAT_RI",
"OECD",
"OECD_NEW",
"OECD_SDMXV3",
"UNDATA",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static Collection<Object[]> data() {
{ "ILO", "DF_EMP_TEMP_SEX_AGE_NB/ITA.Q..SEX_F.", null, null, 28, null, null },
{ "IMF2", "DS-WHDREO.A.PA.GGXCNL_GDP", "2000", "2015", 0, "2000", "DS-WHDREO.A.PA.GGXCNL_GDP" },
{ "INSEE", "CHOMAGE-TRIM-NATIONAL.T.CTCHC.VALEUR_ABSOLUE.FM.1.00-24.INDIVIDUS.CVS.TRUE", null, null, 1, null, null },
{ "ISTAT_RI", "163_24/Q.........2022M11", null, null, 0, null, "163_24.Q.IT.B1G_B_W2_S1._T.Z.Z.L_2015.N.B.2022M11" },
{ "ISTAT_RI", "163_24/Q.........2022M11", "2000", "2010", 0, "2000-Q1", "163_24.Q.IT.B1G_B_W2_S1._T.Z.Z.L_2015.N.B.2022M11" },
{ "ISTAT", "115_362/M....", null, null, 0, null, "115_362.M.F.N.IT.CONS_PROD" },
{ "OECD", "QNA.ITA.B1_GE.CARSA.Q", "2000", "2010", 0, "2000-Q1", "QNA.ITA.B1_GE.CARSA.Q" },
{ "OECD_NEW", "DSD_NAMAIN1@DF_QNA_EXPENDITURE_CAPITA.Q.Y.ISR.S1.S1.B1GQ_POP._Z._Z._Z.USD_PPP_PS.V.LA.T0102", "2000", "2010", 0, "2000-Q1", "DSD_NAMAIN1@DF_QNA_EXPENDITURE_CAPITA.Q.Y.ISR.S1.S1.B1GQ_POP._Z._Z._Z.USD_PPP_PS.V.LA.T0102" },
Expand Down
Binary file modified RJSDMX/inst/java/SDMX.jar
Binary file not shown.
Binary file modified STATA/jar/SDMX.jar
Binary file not shown.

0 comments on commit deb7f09

Please sign in to comment.