From 55f960639e5587b5a2072ff3c609170f261c885d Mon Sep 17 00:00:00 2001 From: firstdata-dev Date: Mon, 30 Mar 2026 09:14:58 +0800 Subject: [PATCH 1/2] feat: add Kenya KNBS and Ghana GSS data sources (Africa expansion) --- assets/badges/progress.json | 2 +- assets/badges/sources-count.json | 2 +- firstdata/indexes/all-sources.json | 123 +++++++++++++++++- firstdata/indexes/by-authority.json | 30 ++++- firstdata/indexes/by-domain.json | 112 +++++++++++++++- firstdata/indexes/by-region.json | 34 ++++- firstdata/indexes/statistics.json | 22 ++-- .../countries/africa/ghana/ghana-gss.json | 57 ++++++++ .../countries/africa/kenya/kenya-knbs.json | 58 +++++++++ 9 files changed, 417 insertions(+), 23 deletions(-) create mode 100644 firstdata/sources/countries/africa/ghana/ghana-gss.json create mode 100644 firstdata/sources/countries/africa/kenya/kenya-knbs.json diff --git a/assets/badges/progress.json b/assets/badges/progress.json index 5586510..475c6a3 100644 --- a/assets/badges/progress.json +++ b/assets/badges/progress.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, "label": "progress", - "message": "31%", + "message": "32%", "color": "yellow" } diff --git a/assets/badges/sources-count.json b/assets/badges/sources-count.json index 02afc38..d442ba1 100644 --- a/assets/badges/sources-count.json +++ b/assets/badges/sources-count.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, "label": "sources", - "message": "313/1000+", + "message": "315/1000+", "color": "blue" } diff --git a/firstdata/indexes/all-sources.json b/firstdata/indexes/all-sources.json index 567c5a2..cb83f0e 100644 --- a/firstdata/indexes/all-sources.json +++ b/firstdata/indexes/all-sources.json @@ -1,7 +1,7 @@ { "metadata": { - "generated_at": "2026-03-29T17:49:24.175388+00:00", - "total_sources": 313, + "generated_at": "2026-03-30T01:14:48.451037+00:00", + "total_sources": 315, "version": "2.0", "schema_version": "v2.0.0" }, @@ -5606,6 +5606,125 @@ "has_api": false, "file_path": "countries/africa/egypt/egypt-capmas.json" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "description": { + "en": "Ghana's official statistical agency responsible for producing population census, GDP, CPI, labor force surveys, trade statistics, and other socioeconomic indicators.", + "zh": "加纳官方统计机构,负责发布人口普查、GDP、消费者价格指数、劳动力调查、贸易统计和其他社会经济指标。" + }, + "website": "https://statsghana.gov.gh", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "api_url": null, + "country": "GH", + "geographic_scope": "national", + "authority_level": "government", + "domains": [ + "economics", + "demographics", + "trade", + "agriculture" + ], + "update_frequency": "annual", + "data_content": { + "en": [ + "Population and housing census", + "GDP and national accounts", + "Consumer price index (CPI)", + "Labor force survey", + "Foreign trade statistics", + "Agricultural census", + "Living standards survey", + "Industrial statistics" + ], + "zh": [ + "人口与住房普查", + "GDP与国民账户", + "消费者价格指数", + "劳动力调查", + "对外贸易统计", + "农业普查", + "生活水平调查", + "工业统计" + ] + }, + "tags": [ + "ghana", + "加纳", + "statistics", + "统计局", + "Africa", + "非洲", + "GDP", + "census", + "CPI" + ], + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "description": { + "en": "Kenya's principal agency for collecting, analyzing, and disseminating statistical data including population census, economic surveys, CPI, GDP, labor force, trade, and household surveys.", + "zh": "肯尼亚负责收集、分析和发布统计数据的主要机构,包括人口普查、经济调查、消费者价格指数、GDP、劳动力、贸易和住户调查。" + }, + "website": "https://www.knbs.or.ke", + "data_url": "https://www.knbs.or.ke/publications/", + "api_url": null, + "country": "KE", + "geographic_scope": "national", + "authority_level": "government", + "domains": [ + "economics", + "demographics", + "trade", + "agriculture", + "health" + ], + "update_frequency": "annual", + "data_content": { + "en": [ + "Population and housing census", + "Economic survey", + "Consumer price index (CPI)", + "GDP and national accounts", + "Labor force statistics", + "Foreign trade statistics", + "Agricultural production", + "Health and demographic indicators" + ], + "zh": [ + "人口与住房普查", + "经济调查", + "消费者价格指数", + "GDP与国民账户", + "劳动力统计", + "对外贸易统计", + "农业生产", + "健康与人口指标" + ] + }, + "tags": [ + "kenya", + "肯尼亚", + "statistics", + "统计局", + "Africa", + "非洲", + "GDP", + "census", + "CPI" + ], + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json" + }, { "id": "nigeria-nbs", "name": { diff --git a/firstdata/indexes/by-authority.json b/firstdata/indexes/by-authority.json index 54b3dc1..40338e4 100644 --- a/firstdata/indexes/by-authority.json +++ b/firstdata/indexes/by-authority.json @@ -1,11 +1,11 @@ { "metadata": { - "generated_at": "2026-03-29T17:49:24.175388+00:00", - "total_sources": 313, + "generated_at": "2026-03-30T01:14:48.451037+00:00", + "total_sources": 315, "authority_counts": { "research": 37, "international": 74, - "government": 168, + "government": 170, "other": 3, "market": 16, "commercial": 15 @@ -2007,6 +2007,30 @@ "file_path": "countries/africa/egypt/egypt-capmas.json", "geographic_scope": "national" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "nigeria-nbs", "name": { diff --git a/firstdata/indexes/by-domain.json b/firstdata/indexes/by-domain.json index 9e55e99..d4ebccb 100644 --- a/firstdata/indexes/by-domain.json +++ b/firstdata/indexes/by-domain.json @@ -1,8 +1,8 @@ { "metadata": { - "generated_at": "2026-03-29T17:49:24.175388+00:00", + "generated_at": "2026-03-30T01:14:48.451037+00:00", "total_domains": 703, - "total_sources": 313, + "total_sources": 315, "version": "2.0" }, "domains": { @@ -312,6 +312,30 @@ "file_path": "china/technology/standards/china-sac-standards.json", "geographic_scope": "national" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "stats-sa", "name": { @@ -4434,6 +4458,30 @@ "file_path": "countries/africa/egypt/egypt-capmas.json", "geographic_scope": "national" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "nigeria-nbs", "name": { @@ -6500,6 +6548,30 @@ "file_path": "countries/africa/egypt/egypt-capmas.json", "geographic_scope": "national" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "nigeria-nbs", "name": { @@ -13169,6 +13241,18 @@ "file_path": "china/health/china-nhc.json", "geographic_scope": "national" }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "stats-sa", "name": { @@ -22544,6 +22628,30 @@ "file_path": "china/finance/forex/china-safe.json", "geographic_scope": "national" }, + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + }, + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + }, { "id": "stats-sa", "name": { diff --git a/firstdata/indexes/by-region.json b/firstdata/indexes/by-region.json index 23cdf6d..fcb347a 100644 --- a/firstdata/indexes/by-region.json +++ b/firstdata/indexes/by-region.json @@ -1,8 +1,8 @@ { "metadata": { - "generated_at": "2026-03-29T17:49:24.175388+00:00", - "total_regions": 56, - "total_sources": 313, + "generated_at": "2026-03-30T01:14:48.451037+00:00", + "total_regions": 58, + "total_sources": 315, "version": "2.0" }, "regions": { @@ -1339,6 +1339,20 @@ "geographic_scope": "national" } ], + "GH": [ + { + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "authority_level": "government", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "has_api": false, + "file_path": "countries/africa/ghana/ghana-gss.json", + "geographic_scope": "national" + } + ], "GR": [ { "id": "greece-elstat", @@ -1618,6 +1632,20 @@ "geographic_scope": "national" } ], + "KE": [ + { + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "authority_level": "government", + "data_url": "https://www.knbs.or.ke/publications/", + "has_api": false, + "file_path": "countries/africa/kenya/kenya-knbs.json", + "geographic_scope": "national" + } + ], "KH": [ { "id": "cambodia-nis", diff --git a/firstdata/indexes/statistics.json b/firstdata/indexes/statistics.json index cc4d7ac..e6dc3dd 100644 --- a/firstdata/indexes/statistics.json +++ b/firstdata/indexes/statistics.json @@ -1,24 +1,24 @@ { "metadata": { - "generated_at": "2026-03-29T17:49:24.175388+00:00", + "generated_at": "2026-03-30T01:14:48.451037+00:00", "version": "2.0" }, "overview": { - "total_sources": 313, + "total_sources": 315, "sources_with_api": 150, - "last_updated": "2026-03-29" + "last_updated": "2026-03-30" }, "by_authority_level": { "research": 37, "international": 74, - "government": 168, + "government": 170, "other": 3, "market": 16, "commercial": 15 }, "by_geographic_scope": { "global": 100, - "national": 187, + "national": 189, "regional": 26 }, "by_update_frequency": { @@ -27,18 +27,18 @@ "weekly": 9, "quarterly": 33, "monthly": 99, - "annual": 61, + "annual": 63, "real-time": 11 }, "by_domain": { - "economics": 125, - "trade": 75, - "demographics": 72, + "economics": 127, + "trade": 77, + "demographics": 74, "environment": 55, + "agriculture": 51, "finance": 50, - "agriculture": 49, "social": 47, - "health": 42, + "health": 43, "employment": 42, "education": 40, "energy": 26, diff --git a/firstdata/sources/countries/africa/ghana/ghana-gss.json b/firstdata/sources/countries/africa/ghana/ghana-gss.json new file mode 100644 index 0000000..a801a77 --- /dev/null +++ b/firstdata/sources/countries/africa/ghana/ghana-gss.json @@ -0,0 +1,57 @@ +{ + "id": "ghana-gss", + "name": { + "en": "Ghana Statistical Service", + "zh": "加纳统计局" + }, + "description": { + "en": "Ghana's official statistical agency responsible for producing population census, GDP, CPI, labor force surveys, trade statistics, and other socioeconomic indicators.", + "zh": "加纳官方统计机构,负责发布人口普查、GDP、消费者价格指数、劳动力调查、贸易统计和其他社会经济指标。" + }, + "website": "https://statsghana.gov.gh", + "data_url": "https://statsghana.gov.gh/dissemination.php", + "api_url": null, + "country": "GH", + "geographic_scope": "national", + "authority_level": "government", + "domains": [ + "economics", + "demographics", + "trade", + "agriculture" + ], + "update_frequency": "annual", + "data_content": { + "en": [ + "Population and housing census", + "GDP and national accounts", + "Consumer price index (CPI)", + "Labor force survey", + "Foreign trade statistics", + "Agricultural census", + "Living standards survey", + "Industrial statistics" + ], + "zh": [ + "人口与住房普查", + "GDP与国民账户", + "消费者价格指数", + "劳动力调查", + "对外贸易统计", + "农业普查", + "生活水平调查", + "工业统计" + ] + }, + "tags": [ + "ghana", + "加纳", + "statistics", + "统计局", + "Africa", + "非洲", + "GDP", + "census", + "CPI" + ] +} diff --git a/firstdata/sources/countries/africa/kenya/kenya-knbs.json b/firstdata/sources/countries/africa/kenya/kenya-knbs.json new file mode 100644 index 0000000..47f20d4 --- /dev/null +++ b/firstdata/sources/countries/africa/kenya/kenya-knbs.json @@ -0,0 +1,58 @@ +{ + "id": "kenya-knbs", + "name": { + "en": "Kenya National Bureau of Statistics", + "zh": "肯尼亚国家统计局" + }, + "description": { + "en": "Kenya's principal agency for collecting, analyzing, and disseminating statistical data including population census, economic surveys, CPI, GDP, labor force, trade, and household surveys.", + "zh": "肯尼亚负责收集、分析和发布统计数据的主要机构,包括人口普查、经济调查、消费者价格指数、GDP、劳动力、贸易和住户调查。" + }, + "website": "https://www.knbs.or.ke", + "data_url": "https://www.knbs.or.ke/publications/", + "api_url": null, + "country": "KE", + "geographic_scope": "national", + "authority_level": "government", + "domains": [ + "economics", + "demographics", + "trade", + "agriculture", + "health" + ], + "update_frequency": "annual", + "data_content": { + "en": [ + "Population and housing census", + "Economic survey", + "Consumer price index (CPI)", + "GDP and national accounts", + "Labor force statistics", + "Foreign trade statistics", + "Agricultural production", + "Health and demographic indicators" + ], + "zh": [ + "人口与住房普查", + "经济调查", + "消费者价格指数", + "GDP与国民账户", + "劳动力统计", + "对外贸易统计", + "农业生产", + "健康与人口指标" + ] + }, + "tags": [ + "kenya", + "肯尼亚", + "statistics", + "统计局", + "Africa", + "非洲", + "GDP", + "census", + "CPI" + ] +} From 91133dd65bb5fcd12c7a2bd912e38b2eb8a5e629 Mon Sep 17 00:00:00 2001 From: firstdata-dev Date: Mon, 30 Mar 2026 09:18:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20ghana-gss=20data=5Furl=20404=20?= =?UTF-8?q?=E2=86=92=20economic-statistics=20page=20(200)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firstdata/sources/countries/africa/ghana/ghana-gss.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firstdata/sources/countries/africa/ghana/ghana-gss.json b/firstdata/sources/countries/africa/ghana/ghana-gss.json index a801a77..a3f1283 100644 --- a/firstdata/sources/countries/africa/ghana/ghana-gss.json +++ b/firstdata/sources/countries/africa/ghana/ghana-gss.json @@ -9,7 +9,7 @@ "zh": "加纳官方统计机构,负责发布人口普查、GDP、消费者价格指数、劳动力调查、贸易统计和其他社会经济指标。" }, "website": "https://statsghana.gov.gh", - "data_url": "https://statsghana.gov.gh/dissemination.php", + "data_url": "https://statsghana.gov.gh/data-statistics/economic-statistics", "api_url": null, "country": "GH", "geographic_scope": "national",