Kossisoroyce commited on
Commit
b5af2a7
·
verified ·
1 Parent(s): cd5f543

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +141 -68
README.md CHANGED
@@ -1,70 +1,143 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: country_name
5
- dtype: string
6
- - name: country_iso3
7
- dtype: string
8
- - name: year
9
- dtype: int64
10
- - name: Airports and airplanes
11
- dtype: float64
12
- - name: Abortion related
13
- dtype: float64
14
- - name: Business
15
- dtype: float64
16
- - name: Food or water supply
17
- dtype: float64
18
- - name: Government
19
- dtype: float64
20
- - name: Maritime
21
- dtype: float64
22
- - name: NGO
23
- dtype: float64
24
- - name: Religious targets
25
- dtype: float64
26
- - name: Militia
27
- dtype: float64
28
- - name: Transportation
29
- dtype: float64
30
- - name: Utilities
31
- dtype: float64
32
- - name: Violent political parties
33
- dtype: float64
34
- - name: Unknown
35
- dtype: float64
36
- - name: Tourists
37
- dtype: float64
38
- - name: Telecommunication
39
- dtype: float64
40
- - name: Other
41
- dtype: float64
42
- - name: Journalists & media
43
- dtype: float64
44
- - name: Diplomatic
45
- dtype: float64
46
- - name: Educational institutions
47
- dtype: float64
48
- - name: Police
49
- dtype: float64
50
- - name: Military
51
- dtype: float64
52
- - name: Private citizens & property
53
- dtype: float64
54
- splits:
55
- - name: train
56
- num_bytes: 419758
57
- num_examples: 2062
58
- - name: test
59
- num_bytes: 104466
60
- num_examples: 516
61
- download_size: 48664
62
- dataset_size: 524224
63
- configs:
64
- - config_name: default
65
- data_files:
66
- - split: train
67
- path: data/train-*
68
- - split: test
69
- path: data/test-*
70
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ - time-series-forecasting
9
+ multilinguality: monolingual
10
+ size_categories:
11
+ - 1K<n<10K
12
+ tags:
13
+ - tabular
14
+ - africa
15
+ - our-world-in-data
16
+ - deaths-from-terrorism-by-target
17
+ - owid
18
+ - long-run-series
19
+ - time-series
20
+ pretty_name: "Deaths From Terrorism By Target | Africa (Our World in Data)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
+
23
+ # Deaths From Terrorism By Target | Africa (Our World in Data)
24
+
25
+ 🌍 **2,578 observations** · **51 Africa countries** · **1970–2021** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
26
+
27
+ ![rows](https://img.shields.io/badge/rows-2,578-blue) ![countries](https://img.shields.io/badge/countries-51-green) ![years](https://img.shields.io/badge/years-1970–2021-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
28
+
29
+ ## TL;DR
30
+
31
+ This dataset contains **2,578 observations** of `Deaths From Terrorism By Target` data across **51 Africa countries**, spanning **1970–2021**.
32
+
33
+ ## About the source
34
+
35
+ - **Source:** [Our World in Data](https://ourworldindata.org/grapher/deaths-from-terrorism-by-target)
36
+ - **Publisher:** Our World in Data
37
+ - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
38
+ - **Topic:** Deaths From Terrorism By Target
39
+
40
+ ## Geographic coverage
41
+
42
+ 51 Africa countries · top rows shown below, sorted by row count:
43
+
44
+ | Country | Rows | First year | Last year |
45
+ |---------|-----:|-----------:|----------:|
46
+ | `AGO` | 51 | 1970 | 2021 |
47
+ | `BDI` | 51 | 1970 | 2021 |
48
+ | `BEN` | 51 | 1970 | 2021 |
49
+ | `BFA` | 51 | 1970 | 2021 |
50
+ | `BWA` | 51 | 1970 | 2021 |
51
+ | `CAF` | 51 | 1970 | 2021 |
52
+ | `CIV` | 51 | 1970 | 2021 |
53
+ | `CMR` | 51 | 1970 | 2021 |
54
+ | `COD` | 51 | 1970 | 2021 |
55
+ | `COM` | 51 | 1970 | 2021 |
56
+ | `DJI` | 51 | 1970 | 2021 |
57
+ | `DZA` | 51 | 1970 | 2021 |
58
+ | `EGY` | 51 | 1970 | 2021 |
59
+ | `ETH` | 51 | 1970 | 2021 |
60
+ | `GAB` | 51 | 1970 | 2021 |
61
+ | ... | _36 more countries_ | | |
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `country_name` | `string` | — | `Algeria` |
68
+ | `country_iso3` | `string` | — | `DZA` |
69
+ | `year` | `int64` | — | `1970` |
70
+ | `Airports and airplanes` | `float64` | — | `0.0` |
71
+ | `Abortion related` | `float64` | — | `0.0` |
72
+ | `Business` | `float64` | — | `0.0` |
73
+ | `Food or water supply` | `float64` | — | `0.0` |
74
+ | `Government` | `float64` | — | `0.0` |
75
+ | `Maritime` | `float64` | — | `0.0` |
76
+ | `NGO` | `float64` | — | `0.0` |
77
+ | `Religious targets` | `float64` | — | `0.0` |
78
+ | `Militia` | `float64` | — | `0.0` |
79
+ | `Transportation` | `float64` | — | `0.0` |
80
+ | `Utilities` | `float64` | — | `0.0` |
81
+ | `Violent political parties` | `float64` | — | `0.0` |
82
+ | `Unknown` | `float64` | — | `0.0` |
83
+ | `Tourists` | `float64` | — | `0.0` |
84
+ | `Telecommunication` | `float64` | — | `0.0` |
85
+ | `Other` | `float64` | — | `0.0` |
86
+ | `Journalists & media` | `float64` | — | `0.0` |
87
+ | `Diplomatic` | `float64` | — | `0.0` |
88
+ | `Educational institutions` | `float64` | — | `0.0` |
89
+ | `Police` | `float64` | — | `0.0` |
90
+ | `Military` | `float64` | — | `0.0` |
91
+ | `Private citizens & property` | `float64` | — | `0.0` |
92
+
93
+ ## Usage
94
+
95
+ ```python
96
+ from datasets import load_dataset
97
+
98
+ ds = load_dataset("electricsheepafrica/africa-owid-deaths-from-terrorism-by-target")
99
+ df = ds["train"].to_pandas()
100
+ print(df.head())
101
+ ```
102
+
103
+ ### Filter to one country
104
+
105
+ ```python
106
+ kenya = df[df["country_iso3"] == "KEN"]
107
+ ```
108
+
109
+ ### Time-series for a single indicator
110
+
111
+ ```python
112
+ sample = df.sort_values("year")
113
+ sample.plot(x="year", y="Airports and airplanes")
114
+ ```
115
+
116
+ ## Citation
117
+
118
+ ```bibtex
119
+ @misc{africa_owid_deaths_from_terrorism_by_target_2021,
120
+ title = {Deaths From Terrorism By Target | Africa (Our World in Data)},
121
+ author = {Our World in Data},
122
+ year = {2021},
123
+ url = {https://ourworldindata.org/grapher/deaths-from-terrorism-by-target},
124
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
125
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-deaths-from-terrorism-by-target}}
126
+ }
127
+ ```
128
+
129
+ ## License
130
+
131
+ Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
132
+
133
+ Original data © Our World in Data. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
134
+
135
+ ## About Electric Sheep
136
+
137
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on HuggingFace. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use `load_dataset()` to start working in seconds.
138
+
139
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
140
+
141
+ ---
142
+
143
+ _Provenance: ingested 2026-06-05 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/deaths-from-terrorism-by-target_