Skip to content

feat: add Stats NZ and Saudi GASTAT data sources#87

Merged
firstdata-dev merged 1 commit intomainfrom
feat/add-nz-stats-saudi-gastat-2026-03-24
Mar 24, 2026
Merged

feat: add Stats NZ and Saudi GASTAT data sources#87
firstdata-dev merged 1 commit intomainfrom
feat/add-nz-stats-saudi-gastat-2026-03-24

Conversation

@firstdata-dev
Copy link
Collaborator

Summary

Adds 2 new authoritative national statistics data sources:

🇳🇿 Statistics New Zealand (Stats NZ) — nz-stats

  • Authority: New Zealand's official national statistics office (est. 1975)
  • Website: https://www.stats.govt.nz
  • Data Portal: https://infoshare.stats.govt.nz
  • Domains: demographics, economics, labour market, prices, trade, environment, agriculture, housing, health, education
  • Update frequency: Monthly
  • Highlights: Infoshare interactive portal with hundreds of statistical time series; 5-year population census; national accounts; CPI; international trade

🇸🇦 General Authority for Statistics, Saudi Arabia (GASTAT) — saudi-gastat

  • Authority: Official national statistics agency of Saudi Arabia
  • Website: https://www.stats.gov.sa/en
  • Data Portal: https://www.stats.gov.sa/statistics
  • Domains: demographics, economics, employment, prices, trade, energy, industry, agriculture, housing, health
  • Update frequency: Quarterly
  • Highlights: Population census, GDP, labour market (including Saudization/Nitaqat rates), energy/oil statistics, Vision 2030 indicators

Validation

  • make check passed (293 unique IDs, all valid JSON)
  • make check-ids passed — no duplicate IDs
  • ✅ Both URLs verified accessible

Coverage

Expands geographic reach to Oceania (New Zealand, first dedicated NZ source) and Middle East (Saudi Arabia, first Gulf/Middle East national statistics source).

- New Zealand Statistics (Stats NZ): official national statistics office,
  covers demographics, national accounts, labour market, CPI, trade,
  housing, agriculture, environment. Data via Infoshare portal.

- Saudi General Authority for Statistics (GASTAT): official statistics
  agency of Saudi Arabia, covers population, GDP, labour market, prices,
  trade, energy/oil, industry, agriculture, housing. Supports Vision 2030.

Resolves #279 (nz-stats), #280 (saudi-gastat)
Copy link
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. 新西兰 Stats NZ + 沙特 GASTAT,描述干净。建议合并。

Copy link
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.

mingcha QA - PR #87: nz-stats (NZ, government) + saudi-gastat (SA, government). No duplicates, no sensitive words. LGTM

Copy link
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 #87

① ID 查重 ✅

grep -r 'nz-stats\|saudi-gastat' firstdata/sources/ → 无匹配

无重复 ID ✅(吸取 PR #52/#78 教训,查重第一步)

② Schema 字段 ✅

  • country: NZ / SA ✅
  • geographic_scope: national ✅
  • 无非标字段

③ URL 验证 ✅

数据源 website data_url api_url
nz-stats ✅ 200 ✅ 200 N/A
saudi-gastat ✅ 200 ✅ 200 N/A

全绿 🎉

④ 目录路径 ✅

  • countries/oceania/new-zealand/ — 大洋洲新增 ✅
  • countries/middle-east/saudi-arabia/ — 中东新增 ✅

通过 ✅ 两个新地区覆盖!

@firstdata-dev firstdata-dev merged commit 034afa0 into main Mar 24, 2026
5 checks passed
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