Kossisoroyce commited on
Commit
0377d57
·
verified ·
1 Parent(s): e10655f

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - libya
16
+ - official-statistics
17
+ - open-data
18
+ - energy
19
+ - ict
20
+ - health
21
+ configs:
22
+ - config_name: default
23
+ data_files:
24
+ - split: train
25
+ path: data/train-00000-of-00001.parquet
26
+ pretty_name: "Safeguarding Health in Conflict Coalition (SHCC) Data | Africa (Libya official open data)"
27
+ ---
28
+
29
+ # Safeguarding Health in Conflict Coalition (SHCC) Data | Africa (Libya official open data)
30
+
31
+ 36 rows - 1 Africa country - 2018 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
32
+
33
+ ![rows](https://img.shields.io/badge/rows-36-blue)
34
+ ![countries](https://img.shields.io/badge/countries-1-green)
35
+ ![years](https://img.shields.io/badge/years-2018-orange)
36
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
37
+ ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
38
+
39
+ ## TL;DR
40
+
41
+ This dataset packages one official `XLSX` resource from **Libya** as
42
+ ML-ready Parquet. The source file is the provenance boundary; all usable
43
+ indicators or tabular columns from the resource stay together in this repo.
44
+
45
+ ## About the source
46
+
47
+ - **Source:** [Safeguarding Health in Conflict Coalition (SHCC) Data](https://data.humdata.org/dataset/shcchealthcare-dataset)
48
+ - **Publisher:** Insecurity Insight
49
+ - **Resource:** [2018 SHCC Overview Data.xlsx](https://data.humdata.org/dataset/02995168-3644-4b78-92be-cdf67275b39d/resource/d053b42a-7d31-41b5-a6d9-c8b0a424241c/download/2018-shcc-overview-data.xlsx)
50
+ - **Format:** `XLSX`
51
+ - **License:** [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)
52
+ - **Packaging mode:** `tabular_resource`
53
+
54
+ ## Geographic coverage
55
+
56
+ 1 Africa country:
57
+
58
+ | Country | Rows | First year | Last year | Name |
59
+ |---------|-----:|-----------:|----------:|------|
60
+ | `LBY` | 36 | 2018 | 2018 | `Libya` |
61
+
62
+ ## Indicators or Resource Contents
63
+
64
+ - This source file is packaged as a normalized tabular resource.
65
+
66
+ ## Schema
67
+
68
+ | Column | Type | Description | Example |
69
+ |--------|------|-------------|---------|
70
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `d053b42a-7d31-41b5-a6d9-c8b0a424241c:shcc-dataset-2018:0` |
71
+ | `country_iso3` | `category` | ISO3 country code. | `LBY` |
72
+ | `country_name` | `category` | Country name. | `Libya` |
73
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `SHCC Dataset 2018` |
74
+ | `year` | `Int64` | Observation year. | `2018` |
75
+ | `country` | `string` | Source column. | `#country +name` |
76
+ | `total_shcc_attacks_2018` | `float64` | Source column. | `` |
77
+ | `intentional_attack` | `float64` | Source column. | `` |
78
+ | `indiscriminate_attack` | `float64` | Source column. | `` |
79
+ | `no_information_on_intention_of_attack` | `float64` | Source column. | `` |
80
+ | `total_health_worker_killed` | `float64` | Source column. | `` |
81
+ | `total_health_worker_injured` | `float64` | Source column. | `` |
82
+ | `total_health_worker_kidnapped` | `float64` | Source column. | `` |
83
+ | `total_number_of_facilities_affected` | `float64` | Source column. | `` |
84
+ | `total_number_of_attacks_on_facilities_which_reported_des` | `float64` | Source column. | `` |
85
+ | `total_number_of_attacks_on_facilities_which_reported_dam` | `float64` | Source column. | `` |
86
+ | `armed_entry_into_medical_facilities` | `string` | Source column. | `#impact +health_facility +armed_entry +num` |
87
+ | `looting_theft_robbery_burglary_of_health_supplies` | `string` | Source column. | `#impact +health_supplies +taken +num` |
88
+ | `occupation_of_medical_facilities_for_military_use` | `string` | Source column. | `#impact +health_facility +occupation +num` |
89
+ | `health_transportation_destroyed` | `string` | Source column. | `#impact +health_transport +destroyed +num` |
90
+ | `health_transportation_damaged` | `float64` | Source column. | `` |
91
+ | `health_transportation_stolen_highjacked` | `float64` | Source column. | `` |
92
+ | `non_state_forces` | `float64` | Source column. | `` |
93
+ | `multiple_forces` | `string` | Source column. | `#group +type +perp_mulitple_forces` |
94
+ | `state_forces` | `float64` | Source column. | `` |
95
+ | `unknown_forces` | `float64` | Source column. | `` |
96
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2018` |
97
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2018` |
98
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2018` |
99
+ | `source_provider` | `category` | Publishing organization. | `Insecurity Insight` |
100
+ | `source_dataset` | `category` | Source package title. | `Safeguarding Health in Conflict Coalition (SHCC) Data` |
101
+ | `source_resource` | `category` | Source resource title. | `2018 SHCC Overview Data.xlsx` |
102
+ | `source_package_id` | `category` | CKAN package UUID. | `02995168-3644-4b78-92be-cdf67275b39d` |
103
+ | `source_resource_id` | `category` | CKAN resource UUID. | `d053b42a-7d31-41b5-a6d9-c8b0a424241c` |
104
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/02995168-3644-4b78-92be-cdf67275b39d/re` |
105
+ | `license_id` | `category` | Source license identifier. | `cc-by-sa` |
106
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-17T13:13:43Z` |
107
+ | `citation` | `string` | Source column. | `` |
108
+
109
+ ## Usage
110
+
111
+ ```python
112
+ from datasets import load_dataset
113
+
114
+ ds = load_dataset("electricsheepafrica/africa-libya-safeguarding-health-in-conflict-coalition-shcc-data-e0e5eca7")
115
+ df = ds["train"].to_pandas()
116
+ print(df.head())
117
+ ```
118
+
119
+ ### Filter to one country
120
+
121
+ ```python
122
+ sample_country = df[df["country_iso3"] == "LBY"]
123
+ ```
124
+
125
+ ### Work with indicators
126
+
127
+ ```python
128
+ if "indicator_id" in df.columns:
129
+ print(df["indicator_id"].value_counts().head())
130
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
131
+ ```
132
+
133
+ ## Citation
134
+
135
+ ```bibtex
136
+ @misc{electric_sheep_africa_africa_libya_safeguarding_health_in_conflict_coalition_shcc_data_e0e5eca7_2018,
137
+ title = {Safeguarding Health in Conflict Coalition (SHCC) Data | Africa (Libya official open data)},
138
+ author = {Insecurity Insight},
139
+ year = {2018},
140
+ url = {https://data.humdata.org/dataset/shcchealthcare-dataset},
141
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
142
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-libya-safeguarding-health-in-conflict-coalition-shcc-data-e0e5eca7}}
143
+ }
144
+ ```
145
+
146
+ ## License
147
+
148
+ Released under [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
149
+
150
+ Original data (c) Insecurity Insight. When using this dataset, please cite both the
151
+ original source above and the Electric Sheep Africa repackaging.
152
+
153
+ ## About Electric Sheep
154
+
155
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
156
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
157
+ open sources, normalize the schemas, package as Parquet, and publish with
158
+ consistent dataset cards so researchers and developers can use `load_dataset()`
159
+ to start working in seconds.
160
+
161
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
162
+
163
+ ---
164
+
165
+ Provenance: ingested 2026-08-17 via the Electric Sheep pipeline. Source URL:
166
+ https://data.humdata.org/dataset/02995168-3644-4b78-92be-cdf67275b39d/resource/d053b42a-7d31-41b5-a6d9-c8b0a424241c/download/2018-shcc-overview-data.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:992c43960d5354b2e929291e9f88a02630eb1bd428a0bd4e5e3322584e992800
3
+ size 31882
metadata/source_snapshot.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "year",
8
+ "country",
9
+ "total_shcc_attacks_2018",
10
+ "intentional_attack",
11
+ "indiscriminate_attack",
12
+ "no_information_on_intention_of_attack",
13
+ "total_health_worker_killed",
14
+ "total_health_worker_injured",
15
+ "total_health_worker_kidnapped",
16
+ "total_number_of_facilities_affected",
17
+ "total_number_of_attacks_on_facilities_which_reported_des",
18
+ "total_number_of_attacks_on_facilities_which_reported_dam",
19
+ "armed_entry_into_medical_facilities",
20
+ "looting_theft_robbery_burglary_of_health_supplies",
21
+ "occupation_of_medical_facilities_for_military_use",
22
+ "health_transportation_destroyed",
23
+ "health_transportation_damaged",
24
+ "health_transportation_stolen_highjacked",
25
+ "non_state_forces",
26
+ "multiple_forces",
27
+ "state_forces",
28
+ "unknown_forces",
29
+ "source_period_start_year",
30
+ "source_period_end_year",
31
+ "source_period_label",
32
+ "source_provider",
33
+ "source_dataset",
34
+ "source_resource",
35
+ "source_package_id",
36
+ "source_resource_id",
37
+ "source_url",
38
+ "license_id",
39
+ "retrieved_at",
40
+ "citation"
41
+ ],
42
+ "generated_at": "2026-08-17T13:35:35Z",
43
+ "indicator_count": 0,
44
+ "mode": "tabular_resource",
45
+ "repo_id": "electricsheepafrica/africa-libya-safeguarding-health-in-conflict-coalition-shcc-data-e0e5eca7",
46
+ "rows": 36,
47
+ "source": {
48
+ "api_base_url": "https://data.humdata.org/api/3/action",
49
+ "country_iso3": "LBY",
50
+ "country_name": "Libya",
51
+ "group_names": "afg,dza,bgd,blr,bra,bfa,bdi,cmr,caf,chl,chn,col,cod,egy,slv,eth,gtm,hti,hnd,ind,idn,irq,ken,kgz,lby,mwi,mli,mex,moz,mmr,nic,ner,nga,mkd,pak,phl,sgp,som,zaf,ssd,pse,sdn,syr,tur,uga,ukr,usa,ven,world,yem",
52
+ "license_id": "cc-by-sa",
53
+ "license_title": "Creative Commons Attribution Share-Alike (CC BY-SA)",
54
+ "license_url": "http://www.opendefinition.org/licenses/cc-by-sa",
55
+ "organization_name": "insecurity-insight",
56
+ "organization_title": "Insecurity Insight",
57
+ "package_id": "02995168-3644-4b78-92be-cdf67275b39d",
58
+ "package_name": "shcchealthcare-dataset",
59
+ "package_notes": "This dataset contains agency- and open source events published in the Attacks on Health Care News Brief and included in the Safeguarding Health in Conflict Coalition (SHCC) annual reporting on violence against or obstruction of health care. This page is managed by SHCC member Insecurity Insight. Please get in touch if you are interested in curated datasets: info@insecurityinsight.org",
60
+ "package_page_url": "https://data.humdata.org/dataset/shcchealthcare-dataset",
61
+ "package_title": "Safeguarding Health in Conflict Coalition (SHCC) Data",
62
+ "portal_url": "https://data.humdata.org",
63
+ "resource_description": "This dataset contains the total number of attacks reported per country in 2018.",
64
+ "resource_format": "XLSX",
65
+ "resource_id": "d053b42a-7d31-41b5-a6d9-c8b0a424241c",
66
+ "resource_last_modified": "2019-05-13T09:56:39.298958",
67
+ "resource_name": "2018 SHCC Overview Data.xlsx",
68
+ "resource_position": "15",
69
+ "resource_url": "https://data.humdata.org/dataset/02995168-3644-4b78-92be-cdf67275b39d/resource/d053b42a-7d31-41b5-a6d9-c8b0a424241c/download/2018-shcc-overview-data.xlsx",
70
+ "tag_names": "aid worker security,conflict-violence,crisis-opt-israel-hostilities,health,health facilities,hxl,indicators"
71
+ },
72
+ "year_max": 2018,
73
+ "year_min": 2018
74
+ }