Olaroti commited on
Commit
0b4bc41
·
verified ·
1 Parent(s): ff9944e

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +93 -83
README.md CHANGED
@@ -1,131 +1,141 @@
1
  ---
2
- license: mit
3
- task_categories:
4
- - tabular-regression
5
- - tabular-classification
6
- tags:
7
- - nigeria
8
- - education
9
- - africa
10
- - synthetic-data
11
- - teacher-attendance-workload
12
- - synthetic
13
  language:
14
  - en
 
 
 
 
15
  size_categories:
16
  - 100K<n<1M
17
- pretty_name: Nigeria Education - Teacher Attendance Workload
18
- data_type: synthetic
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ---
20
 
21
- > ⚠️ **Synthetic dataset** — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference.
22
-
23
- # Nigeria - Teacher Attendance Workload
24
 
25
- ## Dataset Description
26
 
27
- Teacher attendance records and teaching workload hours.
 
 
 
28
 
29
- ## Dataset Information
30
 
31
- - **Country**: Nigeria
32
- - **Dataset Name**: teacher_attendance_workload
33
- - **Total Records**: 100,000
34
- - **Total Columns**: 7
35
- - **File Size**: 1.51 MB
36
- - **Format**: Parquet (full data), CSV (sample)
37
- - **Generated**: 2025-10-21T23:15:47.181063
38
 
39
- ## Schema
40
 
41
- | Column | Data Type | Description |
42
- |--------|-----------|-------------|
43
- | `workload_id` | object | Workload Id |
44
- | `teacher_id` | object | Teacher Id |
45
- | `date` | datetime64[ns] | Date |
46
- | `status` | object | Status |
47
- | `teaching_hours` | float64 | Teaching Hours |
48
- | `num_classes` | float64 | Num Classes |
49
- | `country` | object | Country |
50
 
51
- ## Sample Data
52
 
53
- The dataset includes a 10,000-row sample in CSV format for quick exploration.
54
 
55
- ## Data Quality
 
 
 
 
 
 
 
 
 
 
 
56
 
57
- - **Validation Status**: ✅ Passed
58
- - **Missing Data**: ~2-5% (realistic pattern)
59
- - **Data Type Enforcement**: Strict
60
- - **Cross-Dataset Consistency**: Maintained
61
 
62
- ## Dependencies
 
 
 
63
 
64
- - `teacher_profiles`
65
 
66
- ## Usage Example
67
-
68
- ### Python (Pandas)
69
  ```python
70
- import pandas as pd
71
 
72
- # Load full dataset
73
- df = pd.read_parquet('teacher_attendance_workload_full.parquet')
74
- print(f"Loaded {len(df):,} records")
75
- print(df.head())
76
 
77
- # Load sample
78
- df_sample = pd.read_csv('teacher_attendance_workload_sample.csv')
79
- print(df_sample.describe())
 
80
  ```
81
 
82
- ### Python (Hugging Face Datasets)
 
83
  ```python
84
- from datasets import load_dataset
85
 
86
- # Load from Hugging Face
87
- dataset = load_dataset('nigeria-education-teacher_attendance_workload')
88
- df = dataset['train'].to_pandas()
 
89
  ```
90
 
91
- ## Data Generation
92
 
93
- This dataset was generated using statistical distributions based on:
94
- - UNICEF education statistics for Nigeria
95
- - World Bank development indicators
96
- - Nigerian Ministry of Education data
97
- - Realistic probability distributions
98
 
99
- **Note**: This is synthetic data generated for research and testing purposes.
100
 
101
- ## Related Datasets
 
 
 
 
102
 
103
- This dataset is part of the **Nigeria Education Datasets Collection** (45 datasets total).
104
 
105
- Browse the full collection: [Nigeria Education Datasets](https://huggingface.co/collections/nigeria-education)
 
 
 
106
 
107
  ## Citation
108
 
109
  ```bibtex
110
- @dataset{nigeria_teacher_attendance_workload_2025,
111
- title={Nigeria Education Dataset: Teacher Attendance Workload},
112
- author={[Your Name/Organization]},
113
- year={2025},
114
- publisher={Hugging Face},
115
- url={https://huggingface.co/datasets/nigeria-education-teacher_attendance_workload}
 
116
  }
117
  ```
118
 
119
  ## License
120
 
121
- [Specify your license]
 
 
122
 
123
- ## Contact
124
 
125
- [Your contact information]
126
 
127
  ---
128
 
129
- **Part of**: Nigeria Education Datasets Collection
130
- **Total Datasets**: 45
131
- **Country**: Nigeria 🇳🇬
 
1
  ---
2
+ license: other
 
 
 
 
 
 
 
 
 
 
3
  language:
4
  - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
  size_categories:
10
  - 100K<n<1M
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "education"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "nigeria"
21
+ - "synthetic-data"
22
+ - "teacher-attendance-workload"
23
+ - "synthetic"
24
+ - "teacher"
25
+ pretty_name: "Nigeria Education - Teacher Attendance Workload | Africa (Electric Sheep Africa metadata inventory)"
26
  ---
27
 
28
+ # Nigeria Education - Teacher Attendance Workload | Africa (Electric Sheep Africa metadata inventory)
 
 
29
 
30
+ **Size category:** `100K<n<1M` - **Formats:** `parquet` - **Sector:** education - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
31
 
32
+ ![size](https://img.shields.io/badge/size-100K%3Cn%3C1M-blue)
33
+ ![sector](https://img.shields.io/badge/sector-education-green)
34
+ ![downloads](https://img.shields.io/badge/HF_downloads-29-orange)
35
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
36
 
37
+ ## TL;DR
38
 
39
+ 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.
 
 
 
 
 
 
40
 
41
+ ## What This Dataset Covers
42
 
43
+ Education datasets help researchers study access, participation, attainment, learning systems, staffing, and infrastructure.
 
 
 
 
 
 
 
 
44
 
45
+ Dataset context from the existing Hugging Face card: ⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference. Nigeria - Teacher Attendance Workload Dataset Description Teacher attendance records and teaching workload hours. Dataset Information Country: Nigeria Dataset Name: teacher_attendance_workload Total Records: 100,000 Total Columns: 7 File Size: 1.51 MB Format: Parquet (full data), CSV (sample) Generated:… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria.
46
 
47
+ ## Dataset Profile
48
 
49
+ | Field | Value |
50
+ |---|---|
51
+ | Hugging Face repo | [`electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria) |
52
+ | Sector | education |
53
+ | Topic tags | nigeria, education, synthetic-data, teacher-attendance-workload, synthetic |
54
+ | Modalities | `tabular`, `text` |
55
+ | Formats | `parquet` |
56
+ | Size category | `100K<n<1M` |
57
+ | Countries | Nigeria |
58
+ | ISO3 coverage | `NGA` |
59
+ | Last modified on HF | `2026-04-14 22:36:58+00:00` |
60
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
61
 
62
+ ## How To Read This Dataset
 
 
 
63
 
64
+ - Start from the repository files and the dataset viewer when available.
65
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
66
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
67
+ - Preserve missing values until you have a defensible imputation rule.
68
 
69
+ ## Usage
70
 
 
 
 
71
  ```python
72
+ from datasets import load_dataset
73
 
74
+ ds = load_dataset("electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria")
75
+ print(ds)
 
 
76
 
77
+ split_name = next(iter(ds))
78
+ table = ds[split_name]
79
+ print(table.features)
80
+ print(table[:3])
81
  ```
82
 
83
+ ### Convert To Pandas When Tabular
84
+
85
  ```python
86
+ from datasets import Dataset
87
 
88
+ first_split = ds[next(iter(ds))]
89
+ if isinstance(first_split, Dataset):
90
+ df = first_split.to_pandas()
91
+ print(df.head())
92
  ```
93
 
94
+ ## Data Quality Notes
95
 
96
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
97
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
98
+ - Metadata gaps from the inventory: upstream_publisher.
99
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
 
100
 
101
+ ## Source And Provenance
102
 
103
+ - **Source context:** Electric Sheep Africa metadata inventory
104
+ - **Publisher/source attribution:** Public dataset metadata
105
+ - **License:** mit
106
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria](https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria)
107
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
108
 
109
+ ## Suggested Analyses
110
 
111
+ - Inspect schema and missingness before modeling.
112
+ - Profile variables by geography, time, and subgroup columns where present.
113
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
114
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
115
 
116
  ## Citation
117
 
118
  ```bibtex
119
+ @misc{electric_sheep_africa_africa_synth_education_teacher_attendance_workload_nigeria_2026,
120
+ title = {Nigeria Education - Teacher Attendance Workload | Africa (Electric Sheep Africa metadata inventory)},
121
+ author = {Public dataset metadata},
122
+ year = {2026},
123
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria},
124
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
125
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-synth-education-teacher-attendance-workload-nigeria}}
126
  }
127
  ```
128
 
129
  ## License
130
 
131
+ Released under mit.
132
+
133
+ 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.
134
 
135
+ ## About Electric Sheep Africa
136
 
137
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
138
 
139
  ---
140
 
141
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.