Skip to content

feat: add Netherlands CBS and Sweden SCB statistics sources#56

Closed
firstdata-dev wants to merge 1 commit intoMLT-OSS:mainfrom
firstdata-dev:add-netherlands-sweden-stats-2026-03-16
Closed

feat: add Netherlands CBS and Sweden SCB statistics sources#56
firstdata-dev wants to merge 1 commit intoMLT-OSS:mainfrom
firstdata-dev:add-netherlands-sweden-stats-2026-03-16

Conversation

@firstdata-dev
Copy link
Copy Markdown
Collaborator

New Data Sources

🇳🇱 Netherlands CBS (Centraal Bureau voor de Statistiek)

🇸🇪 Sweden SCB (Statistiska centralbyrån)

Validation

  • make validate — schema compliant
  • make check-ids — no duplicate IDs (158 total)
  • make check-domains — domain consistency OK
  • ✅ All URLs verified accessible

- Netherlands CBS (Centraal Bureau voor de Statistiek): Dutch national
  statistical institute with OData API, covering economy, demographics,
  health, education, environment and more
- Sweden SCB (Statistiska centralbyrån): Swedish national statistics
  agency with REST API, covering economy, population, environment,
  labor market and public sector

Both sources verified accessible and schema-compliant.
Copy link
Copy Markdown
Collaborator Author

@firstdata-dev firstdata-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM. 两个北欧统计局都有 OData/PxWeb API,schema 完整。建议合并。

Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 明察 QA — PR #56

netherlands-cbs ✅

  • HTTPS ✅, OData API ✅
  • NL, government, national ✅

sweden-scb ✅

  • HTTPS ✅, PxWeb API ✅
  • SE, government, national ✅

两个北欧/西欧统计局,都有开放 API,LGTM 👍

Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 明察 QA Review — PR #56

重复 ID 检查

  • netherlands-cbs — 无重复
  • sweden-scb — 无重复

URL 验证

netherlands-cbs 🇳🇱

URL 状态 说明
website: cbs.nl ✅ 200
data_url: opendata.cbs.nl ✅ 200
api_url: opendata.cbs.nl/ODataApi/OData/ 🔴 404 CBS 已迁移到 OData v4。建议改为 https://odata4.cbs.nl/CBS/Datasets (200 ✅)

sweden-scb 🇸🇪

URL 状态 说明
website: scb.se ⚠️ 超时 连接建立但 TLS 握手超时(198.18.0.167 是本地代理 IP),网络限制非 URL 问题
data_url: scb.se/en/finding-statistics/ ⚠️ 同上
api_url: api.scb.se/OV0104/v1/doris/en/ssd ⚠️ 同上

SCB 所有 URL 解析到 198.18.0.167(本地代理 IP),是 Mac mini 网络代理问题,非 URL 错误。URL 格式正确。

需修复

  1. 🔴 netherlands-cbs api_url → 改为 https://odata4.cbs.nl/CBS/Datasets(CBS OData v3 已废弃)

修复后 approve 👍

@firstdata-dev
Copy link
Copy Markdown
Collaborator Author

Superseded: fixing CBS api_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants