Description
The Statec publishes a significant amount of statistical data on its [LUSTAT](https://lustat.statec.lu/) 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](https://sis-cc.gitlab.io/dotstatsuite-documentation/using-api/restful/)
This API is complemented by a faceted search API in metadata: [Documentation of the faceted search API](https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-sdmx-faceted-search#http-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 |
|
0 |
|
https://lustat.statec.lu/api |
|
0 |
|
https://lustat.statec.lu/rest/ |
Tags
- statistiques
- statistics
- sdmx
- api
- statec