Checking status…
Catalog / Statistics Sweden (Statistiska centralbyrån, SCB)
scb

Statistics Sweden (Statistiska centralbyrån, SCB)

Open · redistributedCreative Commons Zero (CC0)Macroeconomics

Statistics Sweden (SCB) — full PxWeb ingest. License: Creative Commons Attribution 4.0 (CC BY 4.0) Source: https://www.scb.se/en/services/open-data-api/api-for-the-statistical-database/ No API key required. Coverage: ~10,000+ tables in the SCB statistical database: * National accounts (GDP, GNI,…

Redistributable. This source is served as canonical Parquet under the license below, with attribution and provenance preserved.

Coverage

Series catalogued
2,550
Temporal coverage
1749-01-01 – present
Categories
Macroeconomics

Licensing & provenance

License
Creative Commons Zero (CC0)
License URL
https://creativecommons.org/publicdomain/zero/1.0/
Required attribution
Source: Statistics Sweden (recommended, not required for CC0 open data)
Redistribution
Permitted (served here)
Commercial use
Yes
Modification
Permitted
Provider homepage
https://www.scb.se/en/
Provider terms
https://www.scb.se/en/services/open-data-api/

Access & mirrors

Download
Select & download scb series as CSV →
API
Get a free API key, then GET /v1/series/<id>.csv
Canonical landing
https://econdatalibrary.com/scb
Update cadence
monthly
Automated refresh
live — this database is on the daily update run
Update strategy
sdmx delta
Storage layout
multi-file, one parquet per subject area: data/clean_full/scb/<SUBJ>.parquet (AA, AM, BE, BO, EN, FM, HA, HE, JO ... observed). series_key = '<table/path>:<dim>=<code>:...' built from non-time dimensions of the JSON-stat2 cube; obs_date from PxWeb time codes; value float64. Per-subject in-run dedup via 'seen' set on (key,date). Plus _catalog.json (crawl cache) and _scb_log.txt. MAX_CELLS=100000 caps each table query; oversized tables fall back to selecting only the first/aggregate value of non-time dims (partial coverage).

Full description

Statistics Sweden (SCB) — full PxWeb ingest. License: Creative Commons Attribution 4.0 (CC BY 4.0) Source: https://www.scb.se/en/services/open-data-api/api-for-the-statistical-database/ No API key required. Coverage: ~10,000+ tables in the SCB statistical database: * National accounts (GDP, GNI, output by industry) * Labour force survey (employment, unemployment, wages) * Consumer/Producer price indices * Trade in goods and services * Population and demography * Industrial and business surveys * Financial accounts and public sector * Housing and construction PxWeb API: GET {BASE}/{path} → catalog list POST {BASE}/{path}/{tableId}/ → data (JSON-stat2) Run: python jobs/ingest_scb.py

Structured metadata

schema.org/Dataset (Google Dataset Search)
{
  "@context": "https://schema.org/",
  "@type": "Dataset",
  "name": "Statistics Sweden (Statistiska centralbyrån, SCB)",
  "description": "Statistics Sweden (Statistiska centralbyrån, SCB). 2,550 series, from 1749. Free download under CC0.",
  "url": "https://econdatalibrary.com/scb",
  "identifier": "scb",
  "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": "Statistics Sweden",
    "url": "https://www.scb.se/en/"
  },
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
  "keywords": [
    "Macroeconomics",
    "scb"
  ],
  "temporalCoverage": "1749-01-01/..",
  "sameAs": [
    "https://huggingface.co/datasets/econdatalibrary-scb",
    "https://zenodo.org/communities/econdatalibrary"
  ],
  "distribution": [
    {
      "@type": "DataDownload",
      "name": "scb — CSV",
      "encodingFormat": "text/csv",
      "contentUrl": "https://econdatalibrary.com/download.html?source=scb",
      "license": "https://creativecommons.org/publicdomain/zero/1.0/"
    }
  ]
}
Croissant (ML-ready, schema.org JSON-LD)
{
  "@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": "scb",
  "description": "Statistics Sweden (Statistiska centralbyrån, SCB). 2,550 series, from 1749. Free download under CC0.",
  "url": "https://econdatalibrary.com/scb",
  "creator": {
    "@type": "sc:Organization",
    "name": "Statistics Sweden",
    "url": "https://www.scb.se/en/"
  },
  "publisher": {
    "@type": "sc:Organization",
    "name": "Econ Data Library",
    "url": "https://econdatalibrary.com"
  },
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
  "keywords": [
    "Macroeconomics"
  ],
  "distribution": [
    {
      "@type": "cr:FileObject",
      "@id": "scb-csv",
      "name": "scb-csv",
      "description": "Per-series CSV, downloadable with a free API key.",
      "contentUrl": "https://econdatalibrary.com/download.html?source=scb",
      "encodingFormat": "text/csv"
    }
  ]
}
Part of the Econ Data Library catalog · metadata generated 2026-08-02 from the central registry · browse all datasets
ElkassabgiData

One account. Every library.

HF Data Library  ·  Econ Data Library  · more to come