KSH Hungary (Központi Statisztikai Hivatal) — STADAT tables via toc.json + CSV. License: Free to use with attribution to KSH (www.ksh.hu) Source: https://www.ksh.hu/stadat (the SDMX host is dead; this is the working channel) No API key required. Coverage: all ~1,632 STADAT tables across 27 themes…
KSH Hungary (Központi Statisztikai Hivatal) — STADAT tables via toc.json + CSV. License: Free to use with attribution to KSH (www.ksh.hu) Source: https://www.ksh.hu/stadat (the SDMX host is dead; this is the working channel) No API key required. Coverage: all ~1,632 STADAT tables across 27 themes (ara prices, gdp national accounts, mun labour, nep population, ene energy, ...), English edition. Channel: * Catalog: GET https://www.ksh.hu/stadat_files/toc.json * Data: GET https://www.ksh.hu/stadat_files/{theme}/en/{id}.csv where theme = first 3 chars of the table id. Notes: * KSH's F5 WAF rejects minimal clients → full browser headers are required (this script intentionally does NOT use the library User-Agent). * CSVs are semicolon-delimited presentation tables: title row, one or more header rows (quoted cells may contain newlines), comma decimal separators, space thousands separators, 'x'/'..' placeholders. * Time may live in the first column (Year rows) or in the column headers; both orientations are handled. Tables with no parseable time dimension are logged and skipped. Output: one parquet per theme (first 3 chars of table id), long format {series_key, obs_date, value}; resumable (skips existing parquets). series_key: KSH:{table_id}:{row_label}:{col_label} (separators sanitized). Run: python jobs/ingest_ksh_stadat.py
{
"@context": "https://schema.org/",
"@type": "Dataset",
"name": "Hungarian Central Statistical Office (HCSO/KSH) — Summary tables (STADAT)",
"description": "Total; Monthly; Corresponding period of previous year = 100.0%. Hungarian Central Statistical Office (HCSO/KSH). 98,423 series, 2000–2025. Free download.",
"url": "https://econdatalibrary.com/ksh_stadat",
"identifier": "ksh_stadat",
"isAccessibleForFree": true,
"publisher": {
"@type": "Organization",
"name": "Econ Data Library",
"url": "https://econdatalibrary.com"
},
"includedInDataCatalog": {
"@type": "DataCatalog",
"@id": "https://econdatalibrary.com/#catalog",
"name": "Econ Data Library",
"url": "https://econdatalibrary.com/catalog"
},
"creator": {
"@type": "Organization",
"name": "Hungarian Central Statistical Office (HCSO/KSH)",
"url": "https://www.ksh.hu/stadat_eng"
},
"license": "https://creativecommons.org/licenses/by/4.0/",
"keywords": [
"Macroeconomics",
"ksh_stadat"
],
"temporalCoverage": "2000-12-31/2025-12-31",
"creditText": "Source: HCSO / ksh.hu (Hungarian Central Statistical Office), STADAT, licensed under CC BY 4.0",
"sameAs": [
"https://huggingface.co/datasets/econdatalibrary-ksh_stadat",
"https://zenodo.org/communities/econdatalibrary"
],
"distribution": [
{
"@type": "DataDownload",
"name": "ksh_stadat — CSV",
"encodingFormat": "text/csv",
"contentUrl": "https://econdatalibrary.com/download.html?source=ksh_stadat",
"license": "https://creativecommons.org/licenses/by/4.0/"
}
]
}{
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"cr": "http://mlcommons.org/croissant/",
"data": {
"@id": "cr:data",
"@type": "@json"
},
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"sc": "https://schema.org/",
"conformsTo": "dct:conformsTo",
"dct": "http://purl.org/dc/terms/"
},
"@type": "sc:Dataset",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"name": "ksh_stadat",
"description": "Total; Monthly; Corresponding period of previous year = 100.0%. Hungarian Central Statistical Office (HCSO/KSH). 98,423 series, 2000–2025. Free download.",
"url": "https://econdatalibrary.com/ksh_stadat",
"creator": {
"@type": "sc:Organization",
"name": "Hungarian Central Statistical Office (HCSO/KSH)",
"url": "https://www.ksh.hu/stadat_eng"
},
"publisher": {
"@type": "sc:Organization",
"name": "Econ Data Library",
"url": "https://econdatalibrary.com"
},
"license": "https://creativecommons.org/licenses/by/4.0/",
"keywords": [
"Macroeconomics"
],
"temporalCoverage": "2000-12-31/2025-12-31",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "ksh_stadat-csv",
"name": "ksh_stadat-csv",
"description": "Per-series CSV, downloadable with a free API key.",
"contentUrl": "https://econdatalibrary.com/download.html?source=ksh_stadat",
"encodingFormat": "text/csv"
}
]
}