Kossisoroyce commited on
Commit
7bfd72e
·
verified ·
1 Parent(s): 9dd1844

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +164 -52
README.md CHANGED
@@ -1,56 +1,168 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: reg
5
- dtype: string
6
- - name: dept
7
- dtype: string
8
- - name: cav
9
- dtype: string
10
- - name: cod_reg
11
- dtype: int64
12
- - name: cod_dept
13
- dtype: int64
14
- - name: cod_cav
15
- dtype: int64
16
- - name: cod_ccrca
17
- dtype: int64
18
- - name: cod_entite
19
- dtype: int64
20
- - name: ccrca
21
- dtype: string
22
- - name: commune
23
- dtype: string
24
- - name: elementaire
25
- dtype: float64
26
- - name: maternelle
27
- dtype: float64
28
- - name: moyen_secondaire
29
- dtype: float64
30
- - name: total_général
31
- dtype: int64
32
- - name: n_menage
33
- dtype: int64
34
- - name: n_individ
35
- dtype: int64
36
- - name: esa_source
37
- dtype: string
38
- - name: esa_processed
39
- dtype: string
40
  splits:
41
- - name: train
42
- num_bytes: 75982
43
- num_examples: 441
44
- - name: test
45
- num_bytes: 18981
46
- num_examples: 111
47
- download_size: 46700
48
- dataset_size: 94963
49
- configs:
50
- - config_name: default
51
- data_files:
52
- - split: train
53
- path: data/train-*
54
- - split: test
55
- path: data/test-*
56
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-4.0
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
+ - education-facilities-schools
26
+ - sen
27
+ pretty_name: "Répartition des établissements scolaires au Sénégal en 2016"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 441
32
+ - name: test
33
+ num_examples: 110
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Répartition des établissements scolaires au Sénégal en 2016
37
+
38
+ **Publisher:** Agence Nationale de la Statistique et de la Démographie du Sénégal · **Source:** [HDX](https://data.humdata.org/dataset/repartition-des-etablissements-scolaires-au-senegal) · **License:** `cc-by` · **Updated:** 2024-09-13
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ Ce jeu de données concerne le nombre d'établissements élémentaire, maternel, moyen et secondaire du Sénégal désagrégé jusqu'au niveau commune rural et commune d'arrondissement.
45
+
46
+ Each row in this dataset represents tabular records. Data was last updated on HDX on 2024-09-13. Geographic scope: **SEN**.
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** | Tabular records |
58
+ | **Rows (total)** | 552 |
59
+ | **Columns** | 18 (11 numeric, 7 categorical, 0 datetime) |
60
+ | **Train split** | 441 rows |
61
+ | **Test split** | 110 rows |
62
+ | **Geographic scope** | SEN |
63
+ | **Publisher** | Agence Nationale de la Statistique et de la Démographie du Sénégal |
64
+ | **HDX last updated** | 2024-09-13 |
65
+
66
+ ---
67
+
68
+ ## Variables
69
+
70
+ **Geographic** — `moyen_secondaire` (range 0.0–43.0).
71
+
72
+ **Demographic** — `n_menage` (range 7.0–80404.0).
73
+
74
+ **Outcome / Measurement** — `total_général` (range 0.0–193.0).
75
+
76
+ **Identifier / Metadata** — `n_individ` (range 93.0–727266.0), `esa_source` (HDX), `esa_processed` (2026-04-18).
77
+
78
+ **Other** — `reg` (LOUGA, DAKAR, THIES), `dept` (PODOR, DAKAR, LINGUERE), `cav` (KAEL, DAROU MOUSTY, PIKINE DAGOUDANE), `cod_reg` (range 1.0–14.0), `cod_dept` (range 1.0–4.0) and 7 others.
79
+
80
+ ---
81
+
82
+ ## Quick Start
83
+
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds = load_dataset("electricsheepafrica/africa-repartition-des-etablissements-scolaires-au-senegal")
88
+ train = ds["train"].to_pandas()
89
+ test = ds["test"].to_pandas()
90
+
91
+ print(train.shape)
92
+ train.head()
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Schema
98
+
99
+ | Column | Type | Null % | Range / Sample Values |
100
+ |---|---|---|---|
101
+ | `reg` | object | 0.0% | LOUGA, DAKAR, THIES |
102
+ | `dept` | object | 0.0% | PODOR, DAKAR, LINGUERE |
103
+ | `cav` | object | 0.0% | KAEL, DAROU MOUSTY, PIKINE DAGOUDANE |
104
+ | `cod_reg` | int64 | 0.0% | 1.0 – 14.0 (mean 7.1268) |
105
+ | `cod_dept` | int64 | 0.0% | 1.0 – 4.0 (mean 2.0036) |
106
+ | `cod_cav` | int64 | 0.0% | 101.0 – 301.0 (mean 188.8116) |
107
+ | `cod_ccrca` | int64 | 0.0% | 0.0 – 44.0 (mean 3.5761) |
108
+ | `cod_entite` | int64 | 0.0% | 1130111.0 – 14320304.0 (mean 7346058.6486) |
109
+ | `ccrca` | object | 0.0% | PATAR, VELINGARA, DINGUIRAYE |
110
+ | `commune` | object | 0.0% | Goree, Passy, Patar |
111
+ | `elementaire` | float64 | 0.2% | 0.0 – 100.0 (mean 16.7495) |
112
+ | `maternelle` | float64 | 17.0% | 0.0 – 61.0 (mean 6.0197) |
113
+ | `moyen_secondaire` | float64 | 9.4% | 0.0 – 43.0 (mean 3.814) |
114
+ | `total_général` | int64 | 0.0% | 0.0 – 193.0 (mean 25.1685) |
115
+ | `n_menage` | int64 | 0.0% | 7.0 – 80404.0 (mean 2772.6087) |
116
+ | `n_individ` | int64 | 0.0% | 93.0 – 727266.0 (mean 24027.317) |
117
+ | `esa_source` | object | 0.0% | HDX |
118
+ | `esa_processed` | object | 0.0% | 2026-04-18 |
119
+
120
+ ---
121
+
122
+ ## Numeric Summary
123
+
124
+ | Column | Min | Max | Mean | Median |
125
+ |---|---|---|---|---|
126
+ | `cod_reg` | 1.0 | 14.0 | 7.1268 | 7.0 |
127
+ | `cod_dept` | 1.0 | 4.0 | 2.0036 | 2.0 |
128
+ | `cod_cav` | 101.0 | 301.0 | 188.8116 | 202.0 |
129
+ | `cod_ccrca` | 0.0 | 44.0 | 3.5761 | 2.0 |
130
+ | `cod_entite` | 1130111.0 | 14320304.0 | 7346058.6486 | 7230116.0 |
131
+ | `elementaire` | 0.0 | 100.0 | 16.7495 | 15.0 |
132
+ | `maternelle` | 0.0 | 61.0 | 6.0197 | 3.0 |
133
+ | `moyen_secondaire` | 0.0 | 43.0 | 3.814 | 2.0 |
134
+ | `total_général` | 0.0 | 193.0 | 25.1685 | 20.0 |
135
+ | `n_menage` | 7.0 | 80404.0 | 2772.6087 | 1470.0 |
136
+ | `n_individ` | 93.0 | 727266.0 | 24027.317 | 14859.0 |
137
+
138
+ ---
139
+
140
+ ## Curation
141
+
142
+ 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.
143
+
144
+ ---
145
+
146
+ ## Limitations
147
+
148
+ - Data originates from Agence Nationale de la Statistique et de la Démographie du Sénégal and has not been independently validated by ESA.
149
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
150
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/repartition-des-etablissements-scolaires-au-senegal) for the publisher's own methodology notes and caveats.
151
+
152
+ ---
153
+
154
+ ## Citation
155
+
156
+ ```bibtex
157
+ @dataset{hdx_africa_repartition_des_etablissements_scolaires_au_senegal,
158
+ title = {Répartition des établissements scolaires au Sénégal en 2016},
159
+ author = {Agence Nationale de la Statistique et de la Démographie du Sénégal},
160
+ year = {2024},
161
+ url = {https://data.humdata.org/dataset/repartition-des-etablissements-scolaires-au-senegal},
162
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
163
+ }
164
+ ```
165
+
166
+ ---
167
+
168
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*