Olaroti commited on
Commit
32a94f2
·
verified ·
1 Parent(s): 06592ac

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +127 -17
README.md CHANGED
@@ -1,29 +1,139 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
3
  tags:
4
- - Alcohol
5
- - Africa
6
- - capita
7
- - Health
8
- - WHO
 
 
 
 
 
 
 
9
  ---
10
 
11
- # Total alcohol per capita (>= 15 years of age) consumption (litres of pure alcohol) for African Countries
12
 
13
- ## Dataset Description
14
 
15
- This dataset contains 'Total alcohol per capita (>= 15 years of age) consumption (litres of pure alcohol)' data for all 54 African countries, sourced from the World Health Organization (WHO). The data is structured with years as rows and countries as columns, facilitating time-series analysis.
 
 
 
16
 
17
- The data is measured in: >= 15 years of age.
18
 
19
- Missing values have been handled using linear interpolation followed by forward and backward filling to ensure a complete dataset.
20
 
21
- ## How to Use
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- You can load the data using pandas:
24
  ```python
25
- import pandas as pd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- df = pd.read_csv('hf://datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries/total_alcohol_per_capita_____15_years_of_age__consumption__litres_of_pure_alcohol_.csv')
28
- print(df.head())
29
- ```
 
1
  ---
2
+ license: other
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
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "health"
17
+ - "csv"
18
+ - "tabular"
19
+ - "text"
20
+ - "alcohol"
21
+ - "capita"
22
+ - "who"
23
+ pretty_name: "Total Alcohol Per Capita 15 Years Of Age Consumption for African Countries | Africa (World Health Organization)"
24
  ---
25
 
26
+ # Total Alcohol Per Capita 15 Years Of Age Consumption for African Countries | Africa (World Health Organization)
27
 
28
+ **Size category:** `n<1K` - **Formats:** `csv` - **Sector:** health - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
29
 
30
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
31
+ ![sector](https://img.shields.io/badge/sector-health-green)
32
+ ![downloads](https://img.shields.io/badge/HF_downloads-10-orange)
33
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
34
 
35
+ ## TL;DR
36
 
37
+ 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.
38
 
39
+ ## What This Dataset Covers
40
+
41
+ Health datasets help researchers examine disease burden, service delivery, risk factors, outcomes, and public-health program performance.
42
+
43
+ Dataset context from the existing Hugging Face card: Total alcohol per capita (>= 15 years of age) consumption (litres of pure alcohol) for African Countries Dataset Description This dataset contains 'Total alcohol per capita (>= 15 years of age) consumption (litres of pure alcohol)' data for all 54 African countries, sourced from the World Health Organization (WHO). The data is structured with years as rows and countries as columns, facilitating time-series analysis. The data is measured in: >= 15 years of age. Missing… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries.
44
+
45
+ ## Dataset Profile
46
+
47
+ | Field | Value |
48
+ |---|---|
49
+ | Hugging Face repo | [`electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries`](https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries) |
50
+ | Sector | health |
51
+ | Topic tags | Alcohol, capita, Health, WHO |
52
+ | Modalities | `tabular`, `text` |
53
+ | Formats | `csv` |
54
+ | Size category | `n<1K` |
55
+ | Countries | Africa-wide or source-defined African coverage |
56
+ | ISO3 coverage | `not declared` |
57
+ | Last modified on HF | `2025-06-21 17:53:18+00:00` |
58
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
59
+
60
+ ## How To Read This Dataset
61
+
62
+ - Start from the repository files and the dataset viewer when available.
63
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
64
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
65
+ - Preserve missing values until you have a defensible imputation rule.
66
+
67
+ ## Usage
68
 
 
69
  ```python
70
+ from datasets import load_dataset
71
+
72
+ ds = load_dataset("electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries")
73
+ print(ds)
74
+
75
+ split_name = next(iter(ds))
76
+ table = ds[split_name]
77
+ print(table.features)
78
+ print(table[:3])
79
+ ```
80
+
81
+ ### Convert To Pandas When Tabular
82
+
83
+ ```python
84
+ from datasets import Dataset
85
+
86
+ first_split = ds[next(iter(ds))]
87
+ if isinstance(first_split, Dataset):
88
+ df = first_split.to_pandas()
89
+ print(df.head())
90
+ ```
91
+
92
+ ## Data Quality Notes
93
+
94
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
95
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
96
+ - Metadata gaps from the inventory: country, upstream_publisher, language.
97
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
98
+
99
+ ## Source And Provenance
100
+
101
+ - **Source context:** World Health Organization
102
+ - **Publisher/source attribution:** WHO public data
103
+ - **License:** apache-2.0
104
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries](https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries)
105
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
106
+
107
+ ## Suggested Analyses
108
+
109
+ - Inspect schema and missingness before modeling.
110
+ - Profile variables by geography, time, and subgroup columns where present.
111
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
112
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
113
+
114
+ ## Citation
115
+
116
+ ```bibtex
117
+ @misc{electric_sheep_africa_total_alcohol_per_capita_15_years_of_age_consumption_for_african_countries_2026,
118
+ title = {Total Alcohol Per Capita 15 Years Of Age Consumption for African Countries | Africa (World Health Organization)},
119
+ author = {WHO public data},
120
+ year = {2026},
121
+ url = {https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries},
122
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
123
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/Total-Alcohol-Per-Capita-15-Years-Of-Age-Consumption-for-African-Countries}}
124
+ }
125
+ ```
126
+
127
+ ## License
128
+
129
+ Released under apache-2.0.
130
+
131
+ 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.
132
+
133
+ ## About Electric Sheep Africa
134
+
135
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
136
+
137
+ ---
138
 
139
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.