Description
The Statec publishes a significant amount of statistical data on its LUSTAT database.
All this data is accessible via this web portal but also via a REST API, which is based in particular on the [SDMX] standard(https://sdmx.org/): Documentation of the REST API
This API is complemented by a faceted search API in metadata: Documentation of the faceted search API
Examples:
— the list of tables made available by STATEC on LUSTAT can be obtained via a GET request on this URL: ‘https://lustat.statec.lu/rest/dataflow/LU1/all/all’
— by knowing the identifier of a dataflow, it is possible to recover your data as a CSV file using the cURL tool on the command line:
“'Curl -o myfile.csv -X GET -H”Accept: application/vnd.sdmx.data+csv;urn=true;file=true;labels=both“ https://lustat.statec.lu/rest/data/LU1,ID_DATAFLOW/all?dimensionAtObservation=AllDimensions”’
In this command line, it is necessary to replace ID_DATAFLOW with the relevant dataflow identifier, e.g. ‘DF_D7100’
Resources
| Name | Format | Description | Link |
|---|---|---|---|
| LUSTAT Faceted Search API | Unknown | Open resource | |
| API REST LUSTAT | Unknown | Open resource |