Skip to content

Commit

Permalink
Add UY110 REST data source, docs, tests
Browse files Browse the repository at this point in the history
Closes #187.
  • Loading branch information
khaeru committed Jan 13, 2025
1 parent 12974c7 commit 99fcd13
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/sources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,17 @@ SDMX-ML —

- Supports preview_data and series-key based key validation.

.. _UY110:

``UY110``: Labour Market Information System (Uruguay)
-----------------------------------------------------

SDMX-ML —
Website `(en) <https://de-mtss.simel.mtss.gub.uy/?lc=en>`__,
`(es) <https://de-mtss.simel.mtss.gub.uy>`__.

- Spanish name: Sistema de Información de Mercado Laboral
- Operated by the Ministry of Labour and Social Security of (Ministerio de Trabajo y Seguridad Social, MTSS), the National Institute of Statistics (Instituto Nacional de Estadística, INE) and the Social Security Bank (Banco de Previsión Social, BPS) of Uruguay.

.. _WB:

Expand Down
15 changes: 15 additions & 0 deletions sdmx/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,21 @@
"preview": true
}
},
{
"id": "UY110",
"name": "Uruguay",
"url": "https://sdmx-mtss.simel.mtss.gub.uy/rest",
"supports": {
"agencyscheme": false,
"dataconsumerscheme": false,
"dataproviderscheme": false,
"hierarchicalcodelist": false,
"metadataflow": false,
"metadatastructure": false,
"provisionagreement": false,
"structureset": false
}
},
{
"id": "WB",
"name": "World Bank World Integrated Trade Solution",
Expand Down
13 changes: 13 additions & 0 deletions sdmx/tests/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,19 @@ class TestUNSD(DataSourceTest):
}


class TestUY110(DataSourceTest):
source_id = "UY110"

xfail = {
"metadata": NotImplementedError, # Internal to sdmx1
# 400: "Can not create reference, target structure is not maintainable, and no
# identifiable reference parameters present"
"organisationscheme": HTTPError,
"registration": ValueError, # Internal to sdmx1
"structure": NotImplementedError, # 501
}


class TestWB(DataSourceTest):
source_id = "WB"
xfail = {
Expand Down

0 comments on commit 99fcd13

Please sign in to comment.