Kossisoroyce commited on
Commit
47e9282
·
verified ·
1 Parent(s): 2b92a85

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +146 -32
README.md CHANGED
@@ -1,36 +1,150 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: year
5
- dtype: int64
6
- - name: gender
7
- dtype: string
8
- - name: form_1
9
- dtype: int64
10
- - name: form_2
11
- dtype: int64
12
- - name: form_3
13
- dtype: int64
14
- - name: form_4
15
- dtype: int64
16
- - name: esa_source
17
- dtype: string
18
- - name: esa_processed
19
- dtype: string
20
  splits:
21
- - name: train
22
- num_bytes: 556
23
- num_examples: 8
24
- - name: test
25
- num_bytes: 139
26
- num_examples: 2
27
- download_size: 7199
28
- dataset_size: 695
29
- configs:
30
- - config_name: default
31
- data_files:
32
- - split: train
33
- path: data/train-*
34
- - split: test
35
- path: data/test-*
36
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: other
9
+ multilinguality:
10
+ - monolingual
11
+ size_categories:
12
+ - n<1K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - education
25
+ - gender-and-age-disaggregated-data-gadd
26
+ - ken
27
+ pretty_name: "Kenya - Enrolment in Secondary Schools by Level and Sex, 2009 – 2013"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 8
32
+ - name: test
33
+ num_examples: 2
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Kenya - Enrolment in Secondary Schools by Level and Sex, 2009 – 2013
37
+
38
+ **Publisher:** Kenya National Bureau of Statistics (inactive) · **Source:** [HDX](https://data.humdata.org/dataset/enrolment-in-secondary-schools-by-level-and-sex-2009-2013) · **License:** `other-pd-nr` · **Updated:** 2025-07-22
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ The Dataset shows the Enrolment in Secondary Schools by Level and Sex for the period of 2009 – 2013 as reported by the Kenya National Bureau of statistics in the KNBS Economic Survey 2014
45
+
46
+ Each row in this dataset represents time-series observations. Data was last updated on HDX on 2025-07-22. Geographic scope: **KEN**.
47
+
48
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
49
+
50
+ ---
51
+
52
+ ## Dataset Characteristics
53
+
54
+ | | |
55
+ |---|---|
56
+ | **Domain** | Education |
57
+ | **Unit of observation** | Time-series observations |
58
+ | **Rows (total)** | 10 |
59
+ | **Columns** | 8 (5 numeric, 3 categorical, 0 datetime) |
60
+ | **Train split** | 8 rows |
61
+ | **Test split** | 2 rows |
62
+ | **Geographic scope** | KEN |
63
+ | **Publisher** | Kenya National Bureau of Statistics (inactive) |
64
+ | **HDX last updated** | 2025-07-22 |
65
+
66
+ ---
67
+
68
+ ## Variables
69
+
70
+ **Geographic** — `year` (range 2009.0–2013.0).
71
+
72
+ **Demographic** — `gender` (Boys, Girls).
73
+
74
+ **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-07).
75
+
76
+ **Other** — `form_1` (range 212467.0–327775.0), `form_2` (range 175098.0–288238.0), `form_3` (range 142579.0–267221.0), `form_4` (range 141999.0–244463.0).
77
+
78
+ ---
79
+
80
+ ## Quick Start
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("electricsheepafrica/africa-enrolment-in-secondary-schools-by-level-and-sex-2009-2013")
86
+ train = ds["train"].to_pandas()
87
+ test = ds["test"].to_pandas()
88
+
89
+ print(train.shape)
90
+ train.head()
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Schema
96
+
97
+ | Column | Type | Null % | Range / Sample Values |
98
+ |---|---|---|---|
99
+ | `year` | int64 | 0.0% | 2009.0 – 2013.0 (mean 2011.0) |
100
+ | `gender` | object | 0.0% | Boys, Girls |
101
+ | `form_1` | int64 | 0.0% | 212467.0 – 327775.0 (mean 261551.1) |
102
+ | `form_2` | int64 | 0.0% | 175098.0 – 288238.0 (mean 233702.3) |
103
+ | `form_3` | int64 | 0.0% | 142579.0 – 267221.0 (mean 207803.1) |
104
+ | `form_4` | int64 | 0.0% | 141999.0 – 244463.0 (mean 188225.8) |
105
+ | `esa_source` | object | 0.0% | HDX |
106
+ | `esa_processed` | object | 0.0% | 2026-04-07 |
107
+
108
+ ---
109
+
110
+ ## Numeric Summary
111
+
112
+ | Column | Min | Max | Mean | Median |
113
+ |---|---|---|---|---|
114
+ | `year` | 2009.0 | 2013.0 | 2011.0 | 2011.0 |
115
+ | `form_1` | 212467.0 | 327775.0 | 261551.1 | 258140.0 |
116
+ | `form_2` | 175098.0 | 288238.0 | 233702.3 | 235944.0 |
117
+ | `form_3` | 142579.0 | 267221.0 | 207803.1 | 217532.0 |
118
+ | `form_4` | 141999.0 | 244463.0 | 188225.8 | 185481.0 |
119
+
120
+ ---
121
+
122
+ ## Curation
123
+
124
+ Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
125
+
126
+ ---
127
+
128
+ ## Limitations
129
+
130
+ - Data originates from Kenya National Bureau of Statistics (inactive) and has not been independently validated by ESA.
131
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
132
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/enrolment-in-secondary-schools-by-level-and-sex-2009-2013) for the publisher's own methodology notes and caveats.
133
+
134
+ ---
135
+
136
+ ## Citation
137
+
138
+ ```bibtex
139
+ @dataset{hdx_africa_enrolment_in_secondary_schools_by_level_and_sex_2009_2013,
140
+ title = {Kenya - Enrolment in Secondary Schools by Level and Sex, 2009 – 2013},
141
+ author = {Kenya National Bureau of Statistics (inactive)},
142
+ year = {2025},
143
+ url = {https://data.humdata.org/dataset/enrolment-in-secondary-schools-by-level-and-sex-2009-2013},
144
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
145
+ }
146
+ ```
147
+
148
+ ---
149
+
150
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*