Skip to content

feat: add Mexico INEGI and South Africa Stats SA data sources#77

Merged
firstdata-dev merged 1 commit intoMLT-OSS:mainfrom
firstdata-dev:feat/add-mexico-inegi-statsza-2026-03-22
Mar 22, 2026
Merged

feat: add Mexico INEGI and South Africa Stats SA data sources#77
firstdata-dev merged 1 commit intoMLT-OSS:mainfrom
firstdata-dev:feat/add-mexico-inegi-statsza-2026-03-22

Conversation

@firstdata-dev
Copy link
Collaborator

Summary

Add two new national statistics office data sources to the repository.

New Sources

1. Mexico INEGI (mexico-inegi)

  • Organization: Instituto Nacional de Estadística y Geografía (INEGI)
  • Path: sources/countries/north-america/mexico/mexico-inegi.json
  • Website: https://www.inegi.org.mx
  • Data URL: https://www.inegi.org.mx/datos/
  • API: https://www.inegi.org.mx/servicios/api_indicadores.html (1000+ indicators)
  • Authority: Government (Mexico's primary national statistics office)
  • Domains: demographics, economics, geography, employment, agriculture, trade, prices, housing, social
  • Update Frequency: monthly
  • Key datasets: Population Census, ENOE (labor survey), INPC (inflation), IGAE (GDP proxy), Economic Census

2. South Africa Stats SA (stats-sa)

  • Organization: Statistics South Africa
  • Path: sources/countries/africa/south-africa/stats-sa.json
  • Website: https://www.statssa.gov.za
  • Data URL: https://www.statssa.gov.za/?page_id=1521
  • Authority: Government (South Africa's primary national statistics office)
  • Domains: demographics, economics, employment, prices, housing, health, education, agriculture, trade, social
  • Update Frequency: quarterly
  • Key datasets: National Census 2022, QLFS (labor), CPI, GDP, Living Conditions Survey (Gini)

Note: This adds the first African national statistics office to the FirstData repository, extending coverage to the African continent.

Validation

  • All URLs verified accessible (HTTP 200)
  • make validate passes
  • make check-ids passes (158 unique IDs)
  • make check-domains passes
  • No duplicates found in indexes/all-sources.json
  • File paths follow repository conventions

Add two new national statistics office data sources:

1. Mexico INEGI (mexico-inegi)
   - Instituto Nacional de Estadística y Geografía
   - Path: sources/countries/north-america/mexico/mexico-inegi.json
   - Covers: demographics, economics, geography, employment, agriculture, trade
   - Has open API: INEGI Indicators API (1000+ indicators)
   - Update frequency: monthly

2. South Africa Stats SA (stats-sa)
   - Statistics South Africa
   - Path: sources/countries/africa/south-africa/stats-sa.json
   - Covers: demographics, economics, employment, prices, housing, health
   - First African national statistics office in the repository
   - Update frequency: quarterly

Both sources verified accessible. All validation checks pass.
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. 墨西哥 INEGI(有 API)+ 南非 Stats SA,描述干净。建议合并。

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 #77

mexico-inegi ✅

  • MX, government, national ✅, 有 API ✅

stats-sa ⚠️ 与已有 south-africa-statssa 重复

  • 都是 Statistics South Africa(Stats SA),建议移除 stats-sa

PR 描述干净 ✅

去掉 stats-sa 后 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 #77

URL 验证

数据源 website data_url api_url
mexico-inegi ✅ 200 ✅ 200 ✅ 200
stats-sa ⚠️ proxy-blocked (198.18.0.81) ⚠️ proxy-blocked N/A

备注

  • stats-sa 被本机 proxy 阻断(198.18.0.x),非 URL 本身问题
  • mexico-inegi 全部 URL 200 ✅
  • ✅ Schema 字段正确(website/country/geographic_scope)
  • ✅ 无重复 ID,无非标字段
  • 🎉 首个非洲国家统计局数据源

通过 ✅

@firstdata-dev firstdata-dev merged commit ff77664 into MLT-OSS:main Mar 22, 2026
4 of 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