Olaroti commited on
Commit
140586c
·
verified ·
1 Parent(s): ff2e6a9

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +94 -81
README.md CHANGED
@@ -5,76 +5,67 @@ language:
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
- - children-who-experience-violent-discipline-vs-gdp-per-capita
17
- - owid
18
- - long-run-series
19
- - time-series
20
- pretty_name: "Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data)"
 
 
 
 
 
 
 
21
  ---
22
 
23
- # Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data)
24
 
25
- 🌍 **1,797 observations** · **52 Africa countries** · **1990–2024** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
26
 
27
- ![rows](https://img.shields.io/badge/rows-1,797-blue) ![countries](https://img.shields.io/badge/countries-52-green) ![years](https://img.shields.io/badge/years-1990–2024-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
 
 
 
28
 
29
  ## TL;DR
30
 
31
- This dataset contains **1,797 observations** of `Children Who Experience Violent Discipline Vs Gdp Per Capita` data across **52 Africa countries**, spanning **1990–2024**.
32
-
33
- ## About the source
34
-
35
- - **Source:** [Our World in Data](https://ourworldindata.org/grapher/children-who-experience-violent-discipline-vs-gdp-per-capita)
36
- - **Publisher:** Our World in Data
37
- - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
38
- - **Topic:** Children Who Experience Violent Discipline Vs Gdp Per Capita
39
-
40
- ## Geographic coverage
41
-
42
- 52 Africa countries · top rows shown below, sorted by row count:
43
-
44
- | Country | Rows | First year | Last year |
45
- |---------|-----:|-----------:|----------:|
46
- | `AGO` | 35 | 1990 | 2024 |
47
- | `BDI` | 35 | 1990 | 2024 |
48
- | `BEN` | 35 | 1990 | 2024 |
49
- | `BFA` | 35 | 1990 | 2024 |
50
- | `BWA` | 35 | 1990 | 2024 |
51
- | `CAF` | 35 | 1990 | 2024 |
52
- | `CIV` | 35 | 1990 | 2024 |
53
- | `CMR` | 35 | 1990 | 2024 |
54
- | `COD` | 35 | 1990 | 2024 |
55
- | `COG` | 35 | 1990 | 2024 |
56
- | `COM` | 35 | 1990 | 2024 |
57
- | `CPV` | 35 | 1990 | 2024 |
58
- | `DZA` | 35 | 1990 | 2024 |
59
- | `EGY` | 35 | 1990 | 2024 |
60
- | `ETH` | 35 | 1990 | 2024 |
61
- | ... | _37 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` | — | `1990` |
70
- | `% of children who experience violent discipline` | `float64` | — | `86.0` |
71
- | `GDP per capita` | `float64` | — | `11728.546` |
72
- | `Population` | `float64` | — | `25375815.0` |
73
- | `World region according to OWID` | `string` | — | `Africa` |
74
-
75
- ## Data quality & caveats
76
-
77
- - `% of children who experience violent discipline` column has 98.5% null values (filtered to non-null in this dataset).
78
 
79
  ## Usage
80
 
@@ -82,48 +73,70 @@ This dataset contains **1,797 observations** of `Children Who Experience Violent
82
  from datasets import load_dataset
83
 
84
  ds = load_dataset("electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita")
85
- df = ds["train"].to_pandas()
86
- print(df.head())
 
 
 
 
87
  ```
88
 
89
- ### Filter to one country
90
 
91
  ```python
92
- kenya = df[df["country_iso3"] == "KEN"]
 
 
 
 
 
93
  ```
94
 
95
- ### Time-series for a single indicator
96
 
97
- ```python
98
- sample = df.sort_values("year")
99
- sample.plot(x="year", y="% of children who experience violent discipline")
100
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
  ## Citation
103
 
104
  ```bibtex
105
- @misc{africa_owid_children_who_experience_violent_discipline_vs_gdp_per_capita_2024,
106
- title = {Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data)},
107
- author = {Our World in Data},
108
- year = {2024},
109
- url = {https://ourworldindata.org/grapher/children-who-experience-violent-discipline-vs-gdp-per-capita},
110
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
111
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita}}
112
  }
113
  ```
114
 
115
  ## License
116
 
117
- Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
118
-
119
- Original data © Our World in Data. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
120
 
121
- ## About Electric Sheep
122
 
123
- 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.
124
 
125
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
126
 
127
  ---
128
 
129
- _Provenance: ingested 2026-06-02 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/children-who-experience-violent-discipline-vs-gdp-per-capita_
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
 
8
  multilinguality: monolingual
9
  size_categories:
10
  - 1K<n<10K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "economics-finance"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "our-world-in-data"
21
+ - "children-who-experience-violent-discipline-vs-gdp-per-capita"
22
+ - "owid"
23
+ - "long-run-series"
24
+ - "time-series"
25
+ - "gdp"
26
+ pretty_name: "Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data) | Africa (World Health Organization)"
27
  ---
28
 
29
+ # Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data) | Africa (World Health Organization)
30
 
31
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** economics_finance - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
 
33
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
34
+ ![sector](https://img.shields.io/badge/sector-economics_finance-green)
35
+ ![downloads](https://img.shields.io/badge/HF_downloads-8-orange)
36
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
37
 
38
  ## TL;DR
39
 
40
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
41
+
42
+ ## What This Dataset Covers
43
+
44
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
45
+
46
+ Dataset context from the existing Hugging Face card: Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data) 🌍 1,797 observations · 52 Africa countries · 1990–2024 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 1,797 observations of Children Who Experience Violent Discipline Vs Gdp Per Capita data across 52 Africa countries, spanning 1990–2024. About the source Source: Our World in Data Publisher: Our World in Data License: cc-by-4.0 Topic:… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita.
47
+
48
+ ## Dataset Profile
49
+
50
+ | Field | Value |
51
+ |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita`](https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita) |
53
+ | Sector | economics_finance |
54
+ | Topic tags | tabular, our-world-in-data, children-who-experience-violent-discipline-vs-gdp-per-capita, owid, long-run-series, time-series |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `1K<n<10K` |
58
+ | Countries | Africa-wide or source-defined African coverage |
59
+ | ISO3 coverage | `not declared` |
60
+ | Last modified on HF | `2026-06-02 18:42:25+00:00` |
61
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
62
+
63
+ ## How To Read This Dataset
64
+
65
+ - Start from the repository files and the dataset viewer when available.
66
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
67
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
68
+ - Preserve missing values until you have a defensible imputation rule.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
  ## Usage
71
 
 
73
  from datasets import load_dataset
74
 
75
  ds = load_dataset("electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita")
76
+ print(ds)
77
+
78
+ split_name = next(iter(ds))
79
+ table = ds[split_name]
80
+ print(table.features)
81
+ print(table[:3])
82
  ```
83
 
84
+ ### Convert To Pandas When Tabular
85
 
86
  ```python
87
+ from datasets import Dataset
88
+
89
+ first_split = ds[next(iter(ds))]
90
+ if isinstance(first_split, Dataset):
91
+ df = first_split.to_pandas()
92
+ print(df.head())
93
  ```
94
 
95
+ ## Data Quality Notes
96
 
97
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
98
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
99
+ - Metadata gaps from the inventory: country, upstream_publisher.
100
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
101
+
102
+ ## Source And Provenance
103
+
104
+ - **Source context:** World Health Organization
105
+ - **Publisher/source attribution:** WHO public data
106
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
107
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita](https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita)
108
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
109
+
110
+ ## Suggested Analyses
111
+
112
+ - Inspect schema and missingness before modeling.
113
+ - Profile variables by geography, time, and subgroup columns where present.
114
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
115
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
116
 
117
  ## Citation
118
 
119
  ```bibtex
120
+ @misc{electric_sheep_africa_africa_owid_children_who_experience_violent_discipline_vs_gdp_per_capita_2026,
121
+ title = {Children Who Experience Violent Discipline Vs Gdp Per Capita | Africa (Our World in Data) | Africa (World Health Organization)},
122
+ author = {WHO public data},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-children-who-experience-violent-discipline-vs-gdp-per-capita}}
127
  }
128
  ```
129
 
130
  ## License
131
 
132
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
 
 
133
 
134
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
135
 
136
+ ## About Electric Sheep Africa
137
 
138
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
139
 
140
  ---
141
 
142
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.