Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -5,230 +5,257 @@ language:
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
-
multilinguality:
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
-
- tabular
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
- agriculture
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
-
# Form 4
|
| 23 |
|
| 24 |
-
161 rows - 1 Africa country - 2018 -
|
| 25 |
|
| 26 |

|
| 27 |

|
| 28 |
-

|
| 30 |

|
| 31 |
|
| 32 |
## TL;DR
|
| 33 |
|
| 34 |
-
This dataset
|
| 35 |
-
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 36 |
-
indicators or tabular columns from the resource stay together in this repo.
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
## Geographic
|
| 48 |
|
| 49 |
-
|
| 50 |
|
| 51 |
-
|
|
| 52 |
-
|------
|
| 53 |
| `UGA` | 161 | 2018 | 2018 | `Uganda` |
|
| 54 |
|
| 55 |
-
## Indicators
|
| 56 |
|
| 57 |
-
- This source
|
| 58 |
|
| 59 |
## Schema
|
| 60 |
|
| 61 |
| Column | Type | Description | Example |
|
| 62 |
|--------|------|-------------|---------|
|
| 63 |
-
| `source_record_id` | `string` | Stable row identifier
|
| 64 |
-
| `country_iso3` | `string` | ISO3 country code. | `UGA` |
|
| 65 |
-
| `country_name` | `string` | Country name. | `Uganda` |
|
| 66 |
-
| `source_sheet` | `string` |
|
| 67 |
-
| `year` | `
|
| 68 |
-
| `qn_11a` | `string` | Source column. | `(Qn 11A)` |
|
| 69 |
-
| `date_of_start_of_interview` | `string` | Source column. | `Time start of Interview` |
|
| 70 |
-
| `d` | `string` | Source column. | `H` |
|
| 71 |
-
| `d_2` | `string` | Source column. | `H` |
|
| 72 |
-
| `m` | `string` | Source column. | `M` |
|
| 73 |
-
| `m_2` | `string` | Source column. | `M` |
|
| 74 |
-
| `y_2` | `string` | Source column. | `` |
|
| 75 |
-
| `y_3` | `string` | Source column. | `` |
|
| 76 |
-
| `y_4` | `string` | Source column. | `` |
|
| 77 |
-
| `source_period_start_year` | `
|
| 78 |
-
| `source_period_end_year` | `
|
| 79 |
-
| `source_period_label` | `string` |
|
| 80 |
| `source_provider` | `string` | Publishing organization. | `Uganda Bureau of Statistics (UBOS)` |
|
| 81 |
-
| `source_dataset` | `string` | Source package title. | `Form 4 - Crop Area Module` |
|
| 82 |
-
| `source_resource` | `string` | Source resource title. | `Form 4 - Crop Area Module` |
|
| 83 |
-
| `source_package_id` | `string` |
|
| 84 |
-
| `source_resource_id` | `string` |
|
| 85 |
-
| `source_url` | `string` | Original source
|
| 86 |
| `license_id` | `string` | Source license identifier. | `other-open` |
|
| 87 |
-
| `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-21T21:37:51Z` |
|
| 88 |
-
| `h01` | `string` | Source column. | `` |
|
| 89 |
-
| `h02` | `string` | Source column. | `` |
|
| 90 |
-
| `h03` | `string` | Source column. | `` |
|
| 91 |
-
| `h04` | `string` | Source column. | `` |
|
| 92 |
-
| `h05` | `string` | Source column. | `` |
|
| 93 |
-
| `h06` | `string` | Source column. | `` |
|
| 94 |
-
| `h07` | `string` | Source column. | `` |
|
| 95 |
-
| `h08` | `string` | Source column. | `` |
|
| 96 |
-
| `h09` | `string` | Source column. | `` |
|
| 97 |
-
| `h10` | `string` | Source column. | `` |
|
| 98 |
-
| `column` | `string` | Source column. | `` |
|
| 99 |
-
| `h12` | `string` | Source column. | `` |
|
| 100 |
-
| `h13` | `string` | Source column. | `` |
|
| 101 |
-
| `h14` | `string` | Source column. | `` |
|
| 102 |
-
| `h15` | `string` | Source column. | `` |
|
| 103 |
-
| `h16` | `string` | Source column. | `` |
|
| 104 |
-
| `enterprise` | `string` | Source column. | `` |
|
| 105 |
-
| `did_you_or_your_household_undertake_enterprise_in_the_cu` | `string` | Source column. | `` |
|
| 106 |
-
| `who_undertook_enterprise` | `string` | Source column. | `` |
|
| 107 |
-
| `what_is_the_main_purpose_of_production_of_enterprise` | `string` | Source column. | `` |
|
| 108 |
-
| `pa01` | `string` | Source column. | `` |
|
| 109 |
-
| `pa02` | `string` | Source column. | `` |
|
| 110 |
-
| `pa03` | `string` | Source column. | `` |
|
| 111 |
-
| `pa04a` | `string` | Source column. | `` |
|
| 112 |
-
| `pa04b` | `string` | Source column. | `` |
|
| 113 |
-
| `pa04c` | `string` | Source column. | `` |
|
| 114 |
-
| `pa05` | `string` | Source column. | `` |
|
| 115 |
-
| `pa06` | `string` | Source column. | `` |
|
| 116 |
-
| `pa07` | `string` | Source column. | `` |
|
| 117 |
-
| `pa08` | `string` | Source column. | `` |
|
| 118 |
-
| `pa09` | `string` | Source column. | `` |
|
| 119 |
-
| `pa10` | `string` | Source column. | `` |
|
| 120 |
-
| `pa11` | `string` | Source column. | `` |
|
| 121 |
-
| `pa12` | `string` | Source column. | `` |
|
| 122 |
-
| `pa13` | `string` | Source column. | `` |
|
| 123 |
-
| `pa14` | `string` | Source column. | `` |
|
| 124 |
-
| `pa15` | `string` | Source column. | `` |
|
| 125 |
-
| `pa16a` | `string` | Source column. | `` |
|
| 126 |
-
| `pa16b` | `string` | Source column. | `` |
|
| 127 |
-
| `pa16c` | `string` | Source column. | `` |
|
| 128 |
-
| `pa17` | `string` | Source column. | `` |
|
| 129 |
-
| `pa18` | `string` | Source column. | `` |
|
| 130 |
-
| `pa19` | `string` | Source column. | `` |
|
| 131 |
-
| `pa20` | `string` | Source column. | `` |
|
| 132 |
-
| `pa21a` | `string` | Source column. | `` |
|
| 133 |
-
| `pa21b` | `string` | Source column. | `` |
|
| 134 |
-
| `pa21c` | `string` | Source column. | `` |
|
| 135 |
-
| `pa22` | `string` | Source column. | `` |
|
| 136 |
-
| `pa23a` | `string` | Source column. | `` |
|
| 137 |
-
| `pa23b` | `string` | Source column. | `` |
|
| 138 |
-
| `pa23c` | `string` | Source column. | `` |
|
| 139 |
-
| `pa24` | `string` | Source column. | `` |
|
| 140 |
-
| `pa25a` | `string` | Source column. | `` |
|
| 141 |
-
| `pa25b` | `string` | Source column. | `` |
|
| 142 |
-
| `pa25c` | `string` | Source column. | `` |
|
| 143 |
-
| `pa26` | `string` | Source column. | `` |
|
| 144 |
-
| `pa27a` | `string` | Source column. | `` |
|
| 145 |
-
| `pa27b` | `string` | Source column. | `` |
|
| 146 |
-
| `pa27c` | `string` | Source column. | `` |
|
| 147 |
-
| `pa28` | `string` | Source column. | `` |
|
| 148 |
-
| `pl01` | `string` | Source column. | `` |
|
| 149 |
-
| `pl02` | `string` | Source column. | `` |
|
| 150 |
-
| `pl03` | `string` | Source column. | `` |
|
| 151 |
-
| `pl04` | `string` | Source column. | `` |
|
| 152 |
-
| `pl05` | `string` | Source column. | `` |
|
| 153 |
-
| `pl06` | `string` | Source column. | `` |
|
| 154 |
-
| `pl07` | `string` | Source column. | `` |
|
| 155 |
-
| `pl08` | `string` | Source column. | `` |
|
| 156 |
-
| `pl09a` | `string` | Source column. | `` |
|
| 157 |
-
| `pl09b` | `string` | Source column. | `` |
|
| 158 |
-
| `pl09c` | `string` | Source column. | `` |
|
| 159 |
-
| `pl10` | `string` | Source column. | `` |
|
| 160 |
-
| `pl11a` | `string` | Source column. | `` |
|
| 161 |
-
| `pl11b` | `string` | Source column. | `` |
|
| 162 |
-
| `pl11c` | `string` | Source column. | `` |
|
| 163 |
-
| `pl12` | `string` | Source column. | `` |
|
| 164 |
-
| `pl13a` | `string` | Source column. | `` |
|
| 165 |
-
| `pl13b` | `string` | Source column. | `` |
|
| 166 |
-
| `pl13c` | `string` | Source column. | `` |
|
| 167 |
-
| `pl14` | `string` | Source column. | `` |
|
| 168 |
-
| `pl15` | `string` | Source column. | `` |
|
| 169 |
-
| `pl16a` | `string` | Source column. | `` |
|
| 170 |
-
| `pl16b` | `string` | Source column. | `` |
|
| 171 |
-
| `pl17` | `string` | Source column. | `` |
|
| 172 |
-
| `pl18` | `string` | Source column. | `` |
|
| 173 |
-
| `pl19` | `string` | Source column. | `` |
|
| 174 |
-
| `pl20` | `string` | Source column. | `` |
|
| 175 |
-
| `pl21` | `string` | Source column. | `` |
|
| 176 |
-
| `c01` | `string` | Source column. | `` |
|
| 177 |
-
| `c02` | `string` | Source column. | `` |
|
| 178 |
-
| `c03` | `string` | Source column. | `` |
|
| 179 |
-
| `c04` | `string` | Source column. | `` |
|
| 180 |
-
| `c05` | `string` | Source column. | `` |
|
| 181 |
-
| `c06` | `string` | Source column. | `` |
|
| 182 |
-
| `c07` | `string` | Source column. | `` |
|
| 183 |
-
| `c08` | `string` | Source column. | `` |
|
| 184 |
-
| `c09` | `string` | Source column. | `` |
|
| 185 |
-
| `c10` | `string` | Source column. | `` |
|
| 186 |
-
| `c11` | `string` | Source column. | `` |
|
| 187 |
-
| `c12` | `string` | Source column. | `` |
|
| 188 |
-
| `c13` | `string` | Source column. | `` |
|
| 189 |
-
| `c14` | `string` | Source column. | `` |
|
| 190 |
-
| `c15` | `string` | Source column. | `` |
|
| 191 |
-
| `c16` | `string` | Source column. | `` |
|
| 192 |
-
| `c17` | `string` | Source column. | `` |
|
| 193 |
-
| `c18` | `string` | Source column. | `` |
|
| 194 |
-
| `c19` | `string` | Source column. | `` |
|
| 195 |
-
| `c20` | `string` | Source column. | `` |
|
| 196 |
-
| `c21` | `string` | Source column. | `` |
|
| 197 |
-
| `c22` | `string` | Source column. | `` |
|
| 198 |
-
| `c23` | `string` | Source column. | `` |
|
| 199 |
-
| `c24` | `string` | Source column. | `` |
|
| 200 |
-
| `c25` | `string` | Source column. | `` |
|
| 201 |
-
| `c26` | `string` | Source column. | `` |
|
| 202 |
-
| `c27` | `string` | Source column. | `` |
|
| 203 |
-
| `c28` | `string` | Source column. | `` |
|
| 204 |
-
| `c29` | `string` | Source column. | `` |
|
| 205 |
-
| `c30` | `string` | Source column. | `` |
|
| 206 |
-
| `c31` | `string` | Source column. | `` |
|
| 207 |
-
| `c32` | `string` | Source column. | `` |
|
| 208 |
-
| `i1` | `string` | Source column. | `` |
|
| 209 |
-
| `i2` | `string` | Source column. | `` |
|
| 210 |
-
| `i3` | `string` | Source column. | `` |
|
| 211 |
-
| `i4` | `string` | Source column. | `` |
|
| 212 |
-
| `i5` | `string` | Source column. | `` |
|
| 213 |
-
| `i6` | `string` | Source column. | `` |
|
| 214 |
-
| `i7` | `string` | Source column. | `` |
|
| 215 |
-
| `i8` | `string` | Source column. | `` |
|
| 216 |
-
| `i9` | `string` | Source column. | `` |
|
| 217 |
-
| `d_1_cereals` | `string` | Source column. | `` |
|
| 218 |
-
| `wheat` | `string` | Source column. | `` |
|
| 219 |
-
| `d_111` | `
|
| 220 |
-
| `d_5_leguminous_crops` | `string` | Source column. | `` |
|
| 221 |
-
| `beans` | `string` | Source column. | `` |
|
| 222 |
-
| `d_711` | `
|
| 223 |
-
| `d_1` | `
|
| 224 |
-
| `never_been_to_school` | `string` | Source column. | `` |
|
| 225 |
-
| `sr_no` | `
|
| 226 |
-
| `unit` | `string` | Measurement unit, when
|
| 227 |
-
| `code` | `
|
| 228 |
-
| `sr` | `
|
| 229 |
-
| `unit_2` | `string` | Source column. | `` |
|
| 230 |
-
| `code_2` | `
|
| 231 |
-
| `sr_no_2` | `
|
| 232 |
|
| 233 |
## Usage
|
| 234 |
|
|
@@ -240,51 +267,93 @@ df = ds["train"].to_pandas()
|
|
| 240 |
print(df.head())
|
| 241 |
```
|
| 242 |
|
| 243 |
-
###
|
| 244 |
|
| 245 |
```python
|
| 246 |
-
|
|
|
|
| 247 |
```
|
| 248 |
|
| 249 |
-
###
|
| 250 |
|
| 251 |
```python
|
| 252 |
-
if "
|
| 253 |
-
|
| 254 |
-
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 255 |
```
|
| 256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 257 |
## Citation
|
| 258 |
|
| 259 |
```bibtex
|
| 260 |
@misc{electric_sheep_africa_africa_uganda_form_4_crop_area_module_b6446863_2018,
|
| 261 |
-
title = {Form 4
|
| 262 |
author = {Uganda Bureau of Statistics (UBOS)},
|
| 263 |
year = {2018},
|
| 264 |
url = {https://microdata.ubos.org:7070/index.php/catalog/62/related-materials},
|
| 265 |
-
publisher = {
|
| 266 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-uganda-form-4-crop-area-module-b6446863}}
|
| 267 |
}
|
| 268 |
```
|
| 269 |
|
| 270 |
## License
|
| 271 |
|
| 272 |
-
Released under
|
| 273 |
-
|
| 274 |
-
Original data (c) Uganda Bureau of Statistics (UBOS). When using this dataset, please cite both the
|
| 275 |
-
original source above and the Electric Sheep Africa repackaging.
|
| 276 |
|
| 277 |
-
|
|
|
|
|
|
|
| 278 |
|
| 279 |
-
|
| 280 |
-
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 281 |
-
open sources, normalize the schemas, package as Parquet, and publish with
|
| 282 |
-
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 283 |
-
to start working in seconds.
|
| 284 |
|
| 285 |
-
|
| 286 |
|
| 287 |
---
|
| 288 |
|
| 289 |
-
Provenance:
|
| 290 |
-
https://microdata.ubos.org:7070/index.php/catalog/62/download/111
|
|
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
+
multilinguality: multilingual
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
+
- "tabular"
|
| 13 |
+
- "africa"
|
| 14 |
+
- "open-data"
|
| 15 |
+
- "official-statistics"
|
| 16 |
+
- "uganda"
|
| 17 |
+
- "uganda-bureau-of-statistics-ubos"
|
| 18 |
+
- "agriculture"
|
| 19 |
+
- "form-4-crop-area-module"
|
| 20 |
+
- "form-4-crop-area-module-xlsx"
|
| 21 |
+
- "2018"
|
| 22 |
+
- "2019"
|
| 23 |
+
- "ubos"
|
| 24 |
+
- "microdata"
|
| 25 |
+
- "related-materials"
|
| 26 |
+
configs:
|
| 27 |
+
- config_name: default
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: data/train-00000-of-00001.parquet
|
| 31 |
+
pretty_name: "Form 4 Crop Area Module | Africa (Uganda Bureau of Statistics (UBOS))"
|
| 32 |
---
|
| 33 |
|
| 34 |
+
# Form 4 Crop Area Module | Africa (Uganda Bureau of Statistics (UBOS))
|
| 35 |
|
| 36 |
+
**161 rows** - **1 Africa country/area** - **2018** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 37 |
|
| 38 |

|
| 39 |

|
| 40 |
+

|
| 41 |

|
| 42 |

|
| 43 |
|
| 44 |
## TL;DR
|
| 45 |
|
| 46 |
+
This dataset contains **161 rows** from **Uganda Bureau of Statistics (UBOS)**, covering **Form 4 Crop Area Module**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
## What This Dataset Measures
|
| 49 |
|
| 50 |
+
Agriculture datasets help analysts examine production, prices, inputs, land use, food systems, and rural economic activity.
|
| 51 |
+
|
| 52 |
+
Source-provided context: Questionnaire used during the post-planting season
|
| 53 |
+
|
| 54 |
+
## How To Read This Dataset
|
| 55 |
+
|
| 56 |
+
- **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
|
| 57 |
+
- **Primary geography column:** `country_iso3`.
|
| 58 |
+
- **Best time column:** `year`.
|
| 59 |
+
- **Time coverage basis:** year.
|
| 60 |
+
- **Recommended join keys:** `country_iso3` where available plus source-specific keys.
|
| 61 |
+
|
| 62 |
+
## Coverage
|
| 63 |
+
|
| 64 |
+
| Dimension | Value |
|
| 65 |
+
|---|---:|
|
| 66 |
+
| Rows | 161 |
|
| 67 |
+
| Countries/areas | 1 |
|
| 68 |
+
| First period | 2018 |
|
| 69 |
+
| Last period | 2018 |
|
| 70 |
+
| Indicators | 0 |
|
| 71 |
+
| Columns | 169 |
|
| 72 |
+
| Source format | XLSX |
|
| 73 |
|
| 74 |
+
## Geographic Coverage
|
| 75 |
|
| 76 |
+
Top areas shown below, sorted by row count when available:
|
| 77 |
|
| 78 |
+
| Area | Rows | First year | Last year | Name |
|
| 79 |
+
|------|-----:|-----------:|----------:|------|
|
| 80 |
| `UGA` | 161 | 2018 | 2018 | `Uganda` |
|
| 81 |
|
| 82 |
+
## Indicators, Variables, Or Resource Contents
|
| 83 |
|
| 84 |
+
- This repo preserves one source tabular resource with its usable columns kept together.
|
| 85 |
|
| 86 |
## Schema
|
| 87 |
|
| 88 |
| Column | Type | Description | Example |
|
| 89 |
|--------|------|-------------|---------|
|
| 90 |
+
| `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `ubos-microdata-62-111:section-4-1-cover-page:0` |
|
| 91 |
+
| `country_iso3` | `string` | ISO3 country or area code. | `UGA` |
|
| 92 |
+
| `country_name` | `string` | Country or area name. | `Uganda` |
|
| 93 |
+
| `source_sheet` | `string` | Source column from the original resource. | `Section 4.1 Cover Page` |
|
| 94 |
+
| `year` | `int64` | Observation year. | `2018` |
|
| 95 |
+
| `qn_11a` | `string` | Source column from the original resource. | `(Qn 11A)` |
|
| 96 |
+
| `date_of_start_of_interview` | `string` | Source column from the original resource. | `Time start of Interview` |
|
| 97 |
+
| `d` | `string` | Source column from the original resource. | `H` |
|
| 98 |
+
| `d_2` | `string` | Source column from the original resource. | `H` |
|
| 99 |
+
| `m` | `string` | Source column from the original resource. | `M` |
|
| 100 |
+
| `m_2` | `string` | Source column from the original resource. | `M` |
|
| 101 |
+
| `y_2` | `string` | Source column from the original resource. | `` |
|
| 102 |
+
| `y_3` | `string` | Source column from the original resource. | `` |
|
| 103 |
+
| `y_4` | `string` | Source column from the original resource. | `` |
|
| 104 |
+
| `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2018` |
|
| 105 |
+
| `source_period_end_year` | `int64` | End year inferred from source metadata. | `2018` |
|
| 106 |
+
| `source_period_label` | `string` | Source column from the original resource. | `2018` |
|
| 107 |
| `source_provider` | `string` | Publishing organization. | `Uganda Bureau of Statistics (UBOS)` |
|
| 108 |
+
| `source_dataset` | `string` | Source dataset or package title. | `Form 4 - Crop Area Module` |
|
| 109 |
+
| `source_resource` | `string` | Source resource title, table name, or file name. | `Form 4 - Crop Area Module` |
|
| 110 |
+
| `source_package_id` | `string` | Source package identifier. | `uga-ubos-aas-2018-v01-111` |
|
| 111 |
+
| `source_resource_id` | `string` | Source resource identifier. | `ubos-microdata-62-111` |
|
| 112 |
+
| `source_url` | `string` | Original source URL or download URL. | `https://microdata.ubos.org:7070/index.php/catalog/62/download/111` |
|
| 113 |
| `license_id` | `string` | Source license identifier. | `other-open` |
|
| 114 |
+
| `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-21T21:37:51Z` |
|
| 115 |
+
| `h01` | `string` | Source column from the original resource. | `` |
|
| 116 |
+
| `h02` | `string` | Source column from the original resource. | `` |
|
| 117 |
+
| `h03` | `string` | Source column from the original resource. | `` |
|
| 118 |
+
| `h04` | `string` | Source column from the original resource. | `` |
|
| 119 |
+
| `h05` | `string` | Source column from the original resource. | `` |
|
| 120 |
+
| `h06` | `string` | Source column from the original resource. | `` |
|
| 121 |
+
| `h07` | `string` | Source column from the original resource. | `` |
|
| 122 |
+
| `h08` | `string` | Source column from the original resource. | `` |
|
| 123 |
+
| `h09` | `string` | Source column from the original resource. | `` |
|
| 124 |
+
| `h10` | `string` | Source column from the original resource. | `` |
|
| 125 |
+
| `column` | `string` | Source column from the original resource. | `` |
|
| 126 |
+
| `h12` | `string` | Source column from the original resource. | `` |
|
| 127 |
+
| `h13` | `string` | Source column from the original resource. | `` |
|
| 128 |
+
| `h14` | `string` | Source column from the original resource. | `` |
|
| 129 |
+
| `h15` | `string` | Source column from the original resource. | `` |
|
| 130 |
+
| `h16` | `string` | Source column from the original resource. | `` |
|
| 131 |
+
| `enterprise` | `string` | Source column from the original resource. | `` |
|
| 132 |
+
| `did_you_or_your_household_undertake_enterprise_in_the_cu` | `string` | Source column from the original resource. | `` |
|
| 133 |
+
| `who_undertook_enterprise` | `string` | Source column from the original resource. | `` |
|
| 134 |
+
| `what_is_the_main_purpose_of_production_of_enterprise` | `string` | Source column from the original resource. | `` |
|
| 135 |
+
| `pa01` | `string` | Source column from the original resource. | `` |
|
| 136 |
+
| `pa02` | `string` | Source column from the original resource. | `` |
|
| 137 |
+
| `pa03` | `string` | Source column from the original resource. | `` |
|
| 138 |
+
| `pa04a` | `string` | Source column from the original resource. | `` |
|
| 139 |
+
| `pa04b` | `string` | Source column from the original resource. | `` |
|
| 140 |
+
| `pa04c` | `string` | Source column from the original resource. | `` |
|
| 141 |
+
| `pa05` | `string` | Source column from the original resource. | `` |
|
| 142 |
+
| `pa06` | `string` | Source column from the original resource. | `` |
|
| 143 |
+
| `pa07` | `string` | Source column from the original resource. | `` |
|
| 144 |
+
| `pa08` | `string` | Source column from the original resource. | `` |
|
| 145 |
+
| `pa09` | `string` | Source column from the original resource. | `` |
|
| 146 |
+
| `pa10` | `string` | Source column from the original resource. | `` |
|
| 147 |
+
| `pa11` | `string` | Source column from the original resource. | `` |
|
| 148 |
+
| `pa12` | `string` | Source column from the original resource. | `` |
|
| 149 |
+
| `pa13` | `string` | Source column from the original resource. | `` |
|
| 150 |
+
| `pa14` | `string` | Source column from the original resource. | `` |
|
| 151 |
+
| `pa15` | `string` | Source column from the original resource. | `` |
|
| 152 |
+
| `pa16a` | `string` | Source column from the original resource. | `` |
|
| 153 |
+
| `pa16b` | `string` | Source column from the original resource. | `` |
|
| 154 |
+
| `pa16c` | `string` | Source column from the original resource. | `` |
|
| 155 |
+
| `pa17` | `string` | Source column from the original resource. | `` |
|
| 156 |
+
| `pa18` | `string` | Source column from the original resource. | `` |
|
| 157 |
+
| `pa19` | `string` | Source column from the original resource. | `` |
|
| 158 |
+
| `pa20` | `string` | Source column from the original resource. | `` |
|
| 159 |
+
| `pa21a` | `string` | Source column from the original resource. | `` |
|
| 160 |
+
| `pa21b` | `string` | Source column from the original resource. | `` |
|
| 161 |
+
| `pa21c` | `string` | Source column from the original resource. | `` |
|
| 162 |
+
| `pa22` | `string` | Source column from the original resource. | `` |
|
| 163 |
+
| `pa23a` | `string` | Source column from the original resource. | `` |
|
| 164 |
+
| `pa23b` | `string` | Source column from the original resource. | `` |
|
| 165 |
+
| `pa23c` | `string` | Source column from the original resource. | `` |
|
| 166 |
+
| `pa24` | `string` | Source column from the original resource. | `` |
|
| 167 |
+
| `pa25a` | `string` | Source column from the original resource. | `` |
|
| 168 |
+
| `pa25b` | `string` | Source column from the original resource. | `` |
|
| 169 |
+
| `pa25c` | `string` | Source column from the original resource. | `` |
|
| 170 |
+
| `pa26` | `string` | Source column from the original resource. | `` |
|
| 171 |
+
| `pa27a` | `string` | Source column from the original resource. | `` |
|
| 172 |
+
| `pa27b` | `string` | Source column from the original resource. | `` |
|
| 173 |
+
| `pa27c` | `string` | Source column from the original resource. | `` |
|
| 174 |
+
| `pa28` | `string` | Source column from the original resource. | `` |
|
| 175 |
+
| `pl01` | `string` | Source column from the original resource. | `` |
|
| 176 |
+
| `pl02` | `string` | Source column from the original resource. | `` |
|
| 177 |
+
| `pl03` | `string` | Source column from the original resource. | `` |
|
| 178 |
+
| `pl04` | `string` | Source column from the original resource. | `` |
|
| 179 |
+
| `pl05` | `string` | Source column from the original resource. | `` |
|
| 180 |
+
| `pl06` | `string` | Source column from the original resource. | `` |
|
| 181 |
+
| `pl07` | `string` | Source column from the original resource. | `` |
|
| 182 |
+
| `pl08` | `string` | Source column from the original resource. | `` |
|
| 183 |
+
| `pl09a` | `string` | Source column from the original resource. | `` |
|
| 184 |
+
| `pl09b` | `string` | Source column from the original resource. | `` |
|
| 185 |
+
| `pl09c` | `string` | Source column from the original resource. | `` |
|
| 186 |
+
| `pl10` | `string` | Source column from the original resource. | `` |
|
| 187 |
+
| `pl11a` | `string` | Source column from the original resource. | `` |
|
| 188 |
+
| `pl11b` | `string` | Source column from the original resource. | `` |
|
| 189 |
+
| `pl11c` | `string` | Source column from the original resource. | `` |
|
| 190 |
+
| `pl12` | `string` | Source column from the original resource. | `` |
|
| 191 |
+
| `pl13a` | `string` | Source column from the original resource. | `` |
|
| 192 |
+
| `pl13b` | `string` | Source column from the original resource. | `` |
|
| 193 |
+
| `pl13c` | `string` | Source column from the original resource. | `` |
|
| 194 |
+
| `pl14` | `string` | Source column from the original resource. | `` |
|
| 195 |
+
| `pl15` | `string` | Source column from the original resource. | `` |
|
| 196 |
+
| `pl16a` | `string` | Source column from the original resource. | `` |
|
| 197 |
+
| `pl16b` | `string` | Source column from the original resource. | `` |
|
| 198 |
+
| `pl17` | `string` | Source column from the original resource. | `` |
|
| 199 |
+
| `pl18` | `string` | Source column from the original resource. | `` |
|
| 200 |
+
| `pl19` | `string` | Source column from the original resource. | `` |
|
| 201 |
+
| `pl20` | `string` | Source column from the original resource. | `` |
|
| 202 |
+
| `pl21` | `string` | Source column from the original resource. | `` |
|
| 203 |
+
| `c01` | `string` | Source column from the original resource. | `` |
|
| 204 |
+
| `c02` | `string` | Source column from the original resource. | `` |
|
| 205 |
+
| `c03` | `string` | Source column from the original resource. | `` |
|
| 206 |
+
| `c04` | `string` | Source column from the original resource. | `` |
|
| 207 |
+
| `c05` | `string` | Source column from the original resource. | `` |
|
| 208 |
+
| `c06` | `string` | Source column from the original resource. | `` |
|
| 209 |
+
| `c07` | `string` | Source column from the original resource. | `` |
|
| 210 |
+
| `c08` | `string` | Source column from the original resource. | `` |
|
| 211 |
+
| `c09` | `string` | Source column from the original resource. | `` |
|
| 212 |
+
| `c10` | `string` | Source column from the original resource. | `` |
|
| 213 |
+
| `c11` | `string` | Source column from the original resource. | `` |
|
| 214 |
+
| `c12` | `string` | Source column from the original resource. | `` |
|
| 215 |
+
| `c13` | `string` | Source column from the original resource. | `` |
|
| 216 |
+
| `c14` | `string` | Source column from the original resource. | `` |
|
| 217 |
+
| `c15` | `string` | Source column from the original resource. | `` |
|
| 218 |
+
| `c16` | `string` | Source column from the original resource. | `` |
|
| 219 |
+
| `c17` | `string` | Source column from the original resource. | `` |
|
| 220 |
+
| `c18` | `string` | Source column from the original resource. | `` |
|
| 221 |
+
| `c19` | `string` | Source column from the original resource. | `` |
|
| 222 |
+
| `c20` | `string` | Source column from the original resource. | `` |
|
| 223 |
+
| `c21` | `string` | Source column from the original resource. | `` |
|
| 224 |
+
| `c22` | `string` | Source column from the original resource. | `` |
|
| 225 |
+
| `c23` | `string` | Source column from the original resource. | `` |
|
| 226 |
+
| `c24` | `string` | Source column from the original resource. | `` |
|
| 227 |
+
| `c25` | `string` | Source column from the original resource. | `` |
|
| 228 |
+
| `c26` | `string` | Source column from the original resource. | `` |
|
| 229 |
+
| `c27` | `string` | Source column from the original resource. | `` |
|
| 230 |
+
| `c28` | `string` | Source column from the original resource. | `` |
|
| 231 |
+
| `c29` | `string` | Source column from the original resource. | `` |
|
| 232 |
+
| `c30` | `string` | Source column from the original resource. | `` |
|
| 233 |
+
| `c31` | `string` | Source column from the original resource. | `` |
|
| 234 |
+
| `c32` | `string` | Source column from the original resource. | `` |
|
| 235 |
+
| `i1` | `string` | Source column from the original resource. | `` |
|
| 236 |
+
| `i2` | `string` | Source column from the original resource. | `` |
|
| 237 |
+
| `i3` | `string` | Source column from the original resource. | `` |
|
| 238 |
+
| `i4` | `string` | Source column from the original resource. | `` |
|
| 239 |
+
| `i5` | `string` | Source column from the original resource. | `` |
|
| 240 |
+
| `i6` | `string` | Source column from the original resource. | `` |
|
| 241 |
+
| `i7` | `string` | Source column from the original resource. | `` |
|
| 242 |
+
| `i8` | `string` | Source column from the original resource. | `` |
|
| 243 |
+
| `i9` | `string` | Source column from the original resource. | `` |
|
| 244 |
+
| `d_1_cereals` | `string` | Source column from the original resource. | `` |
|
| 245 |
+
| `wheat` | `string` | Source column from the original resource. | `` |
|
| 246 |
+
| `d_111` | `double` | Source column from the original resource. | `` |
|
| 247 |
+
| `d_5_leguminous_crops` | `string` | Source column from the original resource. | `` |
|
| 248 |
+
| `beans` | `string` | Source column from the original resource. | `` |
|
| 249 |
+
| `d_711` | `double` | Source column from the original resource. | `` |
|
| 250 |
+
| `d_1` | `double` | Source column from the original resource. | `` |
|
| 251 |
+
| `never_been_to_school` | `string` | Source column from the original resource. | `` |
|
| 252 |
+
| `sr_no` | `double` | Source column from the original resource. | `` |
|
| 253 |
+
| `unit` | `string` | Measurement unit, when supplied by the source. | `` |
|
| 254 |
+
| `code` | `double` | Source column from the original resource. | `` |
|
| 255 |
+
| `sr` | `double` | Source column from the original resource. | `` |
|
| 256 |
+
| `unit_2` | `string` | Source column from the original resource. | `` |
|
| 257 |
+
| `code_2` | `double` | Source column from the original resource. | `` |
|
| 258 |
+
| `sr_no_2` | `double` | Source column from the original resource. | `` |
|
| 259 |
|
| 260 |
## Usage
|
| 261 |
|
|
|
|
| 267 |
print(df.head())
|
| 268 |
```
|
| 269 |
|
| 270 |
+
### Inspect Columns
|
| 271 |
|
| 272 |
```python
|
| 273 |
+
print(df.info())
|
| 274 |
+
print(df.head())
|
| 275 |
```
|
| 276 |
|
| 277 |
+
### Filter By Geography
|
| 278 |
|
| 279 |
```python
|
| 280 |
+
if "country_iso3" in df.columns:
|
| 281 |
+
sample = df[df["country_iso3"] == "UGA"]
|
|
|
|
| 282 |
```
|
| 283 |
|
| 284 |
+
### Time-Series Pattern
|
| 285 |
+
|
| 286 |
+
```python
|
| 287 |
+
if "value" in df.columns and "year" in df.columns:
|
| 288 |
+
trend = df.sort_values("year")
|
| 289 |
+
```
|
| 290 |
+
|
| 291 |
+
### Pivot For Analysis
|
| 292 |
+
|
| 293 |
+
```python
|
| 294 |
+
if {"indicator_id", "year", "value"}.issubset(df.columns):
|
| 295 |
+
matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
|
| 296 |
+
print(matrix.tail())
|
| 297 |
+
```
|
| 298 |
+
|
| 299 |
+
## Data Quality Notes
|
| 300 |
+
|
| 301 |
+
- Canonical time field: `year`.
|
| 302 |
+
- Missing values are preserved rather than silently imputed.
|
| 303 |
+
- Column names are standardized for machine use; source meanings are preserved where known.
|
| 304 |
+
- Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
|
| 305 |
+
|
| 306 |
+
## Source And Provenance
|
| 307 |
+
|
| 308 |
+
- **Source:** [Uganda Bureau of Statistics (UBOS)](https://microdata.ubos.org:7070/index.php/catalog/62/related-materials)
|
| 309 |
+
- **Publisher:** Uganda Bureau of Statistics (UBOS)
|
| 310 |
+
- **Portal:** [https://microdata.ubos.org:7070](https://microdata.ubos.org:7070)
|
| 311 |
+
- **Resource:** [Form 4 - Crop Area Module](https://microdata.ubos.org:7070/index.php/catalog/62/download/111)
|
| 312 |
+
- **License:** other-open
|
| 313 |
+
- **Retrieved/generated:** `2026-07-21T21:37:55Z`
|
| 314 |
+
- **Hugging Face repo:** [electricsheepafrica/africa-uganda-form-4-crop-area-module-b6446863](https://huggingface.co/datasets/electricsheepafrica/africa-uganda-form-4-crop-area-module-b6446863)
|
| 315 |
+
|
| 316 |
+
## Transformations Applied
|
| 317 |
+
|
| 318 |
+
- Converted the source table to Parquet for efficient analytics and ML workflows.
|
| 319 |
+
- Added or preserved source provenance columns where available.
|
| 320 |
+
- Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
|
| 321 |
+
- Preserved source-reported values without analytical imputation.
|
| 322 |
+
|
| 323 |
+
## Suggested Analyses
|
| 324 |
+
|
| 325 |
+
- Track production or price movements
|
| 326 |
+
- Compare regions or commodities
|
| 327 |
+
- Join with climate and trade data
|
| 328 |
+
- Build time-series views and period-over-period comparisons
|
| 329 |
+
- Check missingness before modeling
|
| 330 |
+
- Use `country_iso3` as the safest geography join key when present
|
| 331 |
+
|
| 332 |
## Citation
|
| 333 |
|
| 334 |
```bibtex
|
| 335 |
@misc{electric_sheep_africa_africa_uganda_form_4_crop_area_module_b6446863_2018,
|
| 336 |
+
title = {Form 4 Crop Area Module | Africa (Uganda Bureau of Statistics (UBOS))},
|
| 337 |
author = {Uganda Bureau of Statistics (UBOS)},
|
| 338 |
year = {2018},
|
| 339 |
url = {https://microdata.ubos.org:7070/index.php/catalog/62/related-materials},
|
| 340 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 341 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-uganda-form-4-crop-area-module-b6446863}}
|
| 342 |
}
|
| 343 |
```
|
| 344 |
|
| 345 |
## License
|
| 346 |
|
| 347 |
+
Released under other-open.
|
|
|
|
|
|
|
|
|
|
| 348 |
|
| 349 |
+
Original data is published by Uganda Bureau of Statistics (UBOS). Electric Sheep Africa
|
| 350 |
+
engineering standardizes the data for discovery, loading, and analysis on
|
| 351 |
+
Hugging Face. Cite both the original source and this ML-ready dataset when used.
|
| 352 |
|
| 353 |
+
## About Electric Sheep Africa
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
|
| 355 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
| 356 |
|
| 357 |
---
|
| 358 |
|
| 359 |
+
Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://microdata.ubos.org:7070/index.php/catalog/62/related-materials
|
|
|