CollosaAI commited on
Commit
3e62aaa
·
verified ·
1 Parent(s): 52b8ff6

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1K<n<10K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - algeria
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "HDX HAPI - Coordination & Context: National Risk | Africa (Algeria official open data)"
24
+ ---
25
+
26
+ # HDX HAPI - Coordination & Context: National Risk | Africa (Algeria official open data)
27
+
28
+ 1,910 rows - 1 Africa country - 2025 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-1910-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2025-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-10-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `CSV` resource from **Algeria** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [HDX HAPI - Coordination & Context: National Risk](https://data.humdata.org/dataset/hdx-hapi-national-risk)
45
+ - **Publisher:** HDX Humanitarian API Data
46
+ - **Resource:** [Global Coordination & Context: National Risk](https://data.humdata.org/dataset/856c326d-748c-43c2-89e4-8b25098a7340/resource/0af14f51-8db7-4131-87c9-30479054e629/download/hdx_hapi_national_risk_global.csv)
47
+ - **Format:** `CSV`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `indicator_long`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `DZA` | 1,910 | 2025 | 2025 | `Algeria` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - `hdx-hapi-coordination-context-national-risk-has-hrp-2060cdf5` - HDX HAPI - Coordination & Context: National Risk - has hrp
62
+ - `hdx-hapi-coordination-context-national-risk-in-gho-9ec2aa1a` - HDX HAPI - Coordination & Context: National Risk - in gho
63
+ - `hdx-hapi-coordination-context-national-risk-risk-class-4b1d2a0f` - HDX HAPI - Coordination & Context: National Risk - risk class
64
+ - `hdx-hapi-coordination-context-national-risk-global-rank-35ab7bfc` - HDX HAPI - Coordination & Context: National Risk - global rank
65
+ - `hdx-hapi-coordination-context-national-risk-overall-risk-60041bc1` - HDX HAPI - Coordination & Context: National Risk - overall risk
66
+ - `hdx-hapi-coordination-context-national-risk-hazard-exposure-risk-8614df3b` - HDX HAPI - Coordination & Context: National Risk - hazard exposure risk
67
+ - `hdx-hapi-coordination-context-national-risk-vulnerability-risk-f460988d` - HDX HAPI - Coordination & Context: National Risk - vulnerability risk
68
+ - `hdx-hapi-coordination-context-national-risk-coping-capacity-risk-41205136` - HDX HAPI - Coordination & Context: National Risk - coping capacity risk
69
+ - `hdx-hapi-coordination-context-national-risk-meta-missing-indicators-pct-76a6442c` - HDX HAPI - Coordination & Context: National Risk - meta missing indicators pct
70
+ - `hdx-hapi-coordination-context-national-risk-meta-avg-recentness-years-8ff53211` - HDX HAPI - Coordination & Context: National Risk - meta avg recentness years
71
+
72
+ ## Schema
73
+
74
+ | Column | Type | Description | Example |
75
+ |--------|------|-------------|---------|
76
+ | `indicator_id` | `string` | Stable indicator identifier. | `hdx-hapi-coordination-context-national-risk-has-hrp-2060cdf5` |
77
+ | `indicator_name` | `string` | Human-readable indicator name. | `HDX HAPI - Coordination & Context: National Risk - has hrp` |
78
+ | `country_iso3` | `string` | ISO3 country code. | `DZA` |
79
+ | `country_name` | `string` | Country name. | `Algeria` |
80
+ | `year` | `Int64` | Observation year. | `2025` |
81
+ | `value` | `float64` | Numeric observation value. | `1.0` |
82
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
83
+ | `dimension_location_code` | `string` | Source dimension. | `AFG` |
84
+ | `dimension_reference_period_end` | `string` | Source dimension. | `2025-12-31` |
85
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
86
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
87
+ | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
88
+ | `source_provider` | `category` | Publishing organization. | `HDX Humanitarian API Data` |
89
+ | `source_dataset` | `category` | Source package title. | `HDX HAPI - Coordination & Context: National Risk` |
90
+ | `source_resource` | `category` | Source resource title. | `Global Coordination & Context: National Risk` |
91
+ | `source_package_id` | `category` | CKAN package UUID. | `856c326d-748c-43c2-89e4-8b25098a7340` |
92
+ | `source_resource_id` | `category` | CKAN resource UUID. | `0af14f51-8db7-4131-87c9-30479054e629` |
93
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/856c326d-748c-43c2-89e4-8b25098a7340/re` |
94
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
95
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-25T16:52:17Z` |
96
+
97
+ ## Usage
98
+
99
+ ```python
100
+ from datasets import load_dataset
101
+
102
+ ds = load_dataset("electricsheepafrica/africa-algeria-hdx-hapi-coordination-context-national-risk-af34bde6")
103
+ df = ds["train"].to_pandas()
104
+ print(df.head())
105
+ ```
106
+
107
+ ### Filter to one country
108
+
109
+ ```python
110
+ sample_country = df[df["country_iso3"] == "DZA"]
111
+ ```
112
+
113
+ ### Work with indicators
114
+
115
+ ```python
116
+ if "indicator_id" in df.columns:
117
+ print(df["indicator_id"].value_counts().head())
118
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
119
+ ```
120
+
121
+ ## Citation
122
+
123
+ ```bibtex
124
+ @misc{electric_sheep_africa_africa_algeria_hdx_hapi_coordination_context_national_risk_af34bde6_2025,
125
+ title = {HDX HAPI - Coordination & Context: National Risk | Africa (Algeria official open data)},
126
+ author = {HDX Humanitarian API Data},
127
+ year = {2025},
128
+ url = {https://data.humdata.org/dataset/hdx-hapi-national-risk},
129
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-algeria-hdx-hapi-coordination-context-national-risk-af34bde6}}
131
+ }
132
+ ```
133
+
134
+ ## License
135
+
136
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
137
+
138
+ Original data (c) HDX Humanitarian API Data. When using this dataset, please cite both the
139
+ original source above and the Electric Sheep Africa repackaging.
140
+
141
+ ## About Electric Sheep
142
+
143
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
144
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
145
+ open sources, normalize the schemas, package as Parquet, and publish with
146
+ consistent dataset cards so researchers and developers can use `load_dataset()`
147
+ to start working in seconds.
148
+
149
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
150
+
151
+ ---
152
+
153
+ Provenance: ingested 2026-08-25 via the Electric Sheep pipeline. Source URL:
154
+ https://data.humdata.org/dataset/856c326d-748c-43c2-89e4-8b25098a7340/resource/0af14f51-8db7-4131-87c9-30479054e629/download/hdx_hapi_national_risk_global.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8efb01210312fb7aeb8ed2f75fe331bcca84e44997dc3ff7754e70eac180b30
3
+ size 19161
metadata/source_snapshot.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "country_name",
7
+ "year",
8
+ "value",
9
+ "unit",
10
+ "dimension_location_code",
11
+ "dimension_reference_period_end",
12
+ "source_period_start_year",
13
+ "source_period_end_year",
14
+ "source_period_label",
15
+ "source_provider",
16
+ "source_dataset",
17
+ "source_resource",
18
+ "source_package_id",
19
+ "source_resource_id",
20
+ "source_url",
21
+ "license_id",
22
+ "retrieved_at"
23
+ ],
24
+ "generated_at": "2026-08-25T16:53:52Z",
25
+ "indicator_count": 10,
26
+ "mode": "indicator_long",
27
+ "repo_id": "electricsheepafrica/africa-algeria-hdx-hapi-coordination-context-national-risk-af34bde6",
28
+ "rows": 1910,
29
+ "source": {
30
+ "api_base_url": "https://data.humdata.org/api/3/action",
31
+ "country_iso3": "DZA",
32
+ "country_name": "Algeria",
33
+ "group_names": "afg,alb,dza,ago,atg,arg,arm,aus,aut,aze,bhs,bhr,bgd,brb,blr,bel,blz,ben,btn,bol,bih,bwa,bra,brn,bgr,bfa,bdi,cpv,khm,cmr,can,caf,tcd,chl,chn,col,com,cog,cri,civ,hrv,cub,cyp,cze,prk,cod,dnk,dji,dma,dom,ecu,egy,slv,gnq,eri,est,swz,eth,fji,fin,fra,gab,gmb,geo,deu,gha,grc,grd,gtm,gin,gnb,guy,hti,hnd,hun,isl,ind,idn,irn,irq,irl,isr,ita,jam,jpn,jor,kaz,ken,kir,kwt,kgz,lao,lva,lbn,lso,lbr,lby,lie,ltu,lux,mdg,mwi,mys,mdv,mli,mlt,mhl,mrt,mus,mex,fsm,mng,mne,mar,moz,mmr,nam,nru,npl,nld,nzl,nic,ner,nga,mkd,nor,omn,pak,plw,pan,png,pry,per,phl,pol,prt,qat,kor,mda,rou,rus,rwa,kna,lca,vct,wsm,stp,sau,sen,srb,syc,sle,sgp,svk,svn,slb,som,zaf,ssd,esp,lka,pse,sdn,sur,swe,che,syr,tjk,tha,tls,tgo,ton,tto,tun,tkm,tuv,tur,uga,ukr,are,gbr,tza,usa,ury,uzb,vut,ven,vnm,yem,zmb,zwe",
34
+ "license_id": "cc-by",
35
+ "license_title": "Creative Commons Attribution International (CC BY)",
36
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
37
+ "organization_name": "hdx-hapi",
38
+ "organization_title": "HDX Humanitarian API Data",
39
+ "package_id": "856c326d-748c-43c2-89e4-8b25098a7340",
40
+ "package_name": "hdx-hapi-national-risk",
41
+ "package_notes": "This dataset contains data obtained from the [HDX Humanitarian API](https://hapi.humdata.org/) (HDX HAPI), which provides standardized humanitarian indicators designed for seamless interoperability from multiple sources. The data facilitates automated workflows and visualizations to support humanitarian decision making. For more information, please see the HDX HAPI [landing page](https://data.humdata.org/hapi) and [documentation](https://hdx-hapi.readthedocs.io/en/latest/).",
42
+ "package_page_url": "https://data.humdata.org/dataset/hdx-hapi-national-risk",
43
+ "package_title": "HDX HAPI - Coordination & Context: National Risk",
44
+ "portal_url": "https://data.humdata.org",
45
+ "resource_description": "National Risk data from HDX HAPI, please see [the documentation](https://hdx-hapi.readthedocs.io/en/latest/data_usage_guides/coordination_and_context/#national-risk) for more information",
46
+ "resource_format": "CSV",
47
+ "resource_id": "0af14f51-8db7-4131-87c9-30479054e629",
48
+ "resource_last_modified": "2026-05-28T21:57:25.653862",
49
+ "resource_name": "Global Coordination & Context: National Risk",
50
+ "resource_position": "0",
51
+ "resource_url": "https://data.humdata.org/dataset/856c326d-748c-43c2-89e4-8b25098a7340/resource/0af14f51-8db7-4131-87c9-30479054e629/download/hdx_hapi_national_risk_global.csv",
52
+ "tag_names": "hazards and risk"
53
+ },
54
+ "year_max": 2025,
55
+ "year_min": 2025
56
+ }