lucyi-morn commited on
Commit
6db09f5
·
verified ·
1 Parent(s): 8c02791

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - uganda
16
+ - official-statistics
17
+ - open-data
18
+ - economics
19
+ pretty_name: "Average Monthly consumption expenditure per household, Ugx (2016-17 prices) | Africa (Uganda official open data)"
20
+ ---
21
+
22
+ # Average Monthly consumption expenditure per household, Ugx (2016-17 prices) | Africa (Uganda official open data)
23
+
24
+ 5 rows - 1 Africa country - 2016-2025 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
25
+
26
+ ![rows](https://img.shields.io/badge/rows-5-blue)
27
+ ![countries](https://img.shields.io/badge/countries-1-green)
28
+ ![years](https://img.shields.io/badge/years-2016-2025-orange)
29
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
30
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
31
+
32
+ ## TL;DR
33
+
34
+ This dataset packages one official `XLSX` resource from **Uganda** as
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
+ ## About the source
39
+
40
+ - **Source:** [Average Monthly consumption expenditure per household, Ugx (2016-17 prices)](https://www.ubos.org/explore-statistics/0/)
41
+ - **Publisher:** Uganda Bureau of Statistics
42
+ - **Resource:** [Average Monthly consumption expenditure per household, Ugx (2016-17 prices)](https://www.ubos.org/wp-content/uploads/statistics/Average-Monthly-consumption-expenditure-per-household-Ugx-2016-17-prices.xlsx)
43
+ - **Format:** `XLSX`
44
+ - **License:** [Other open license]()
45
+ - **Packaging mode:** `tabular_resource`
46
+
47
+ ## Geographic coverage
48
+
49
+ 1 Africa country:
50
+
51
+ | Country | Rows | First year | Last year | Name |
52
+ |---------|-----:|-----------:|----------:|------|
53
+ | `UGA` | 5 | 2016 | 2025 | `Uganda` |
54
+
55
+ ## Indicators or Resource Contents
56
+
57
+ - This source file is packaged as a normalized tabular resource.
58
+
59
+ ## Schema
60
+
61
+ | Column | Type | Description | Example |
62
+ |--------|------|-------------|---------|
63
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `ubos-stat-10f5f8466c408c:data:0` |
64
+ | `country_iso3` | `string` | ISO3 country code. | `UGA` |
65
+ | `country_name` | `string` | Country name. | `Uganda` |
66
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Data` |
67
+ | `central` | `string` | Source column. | `Eastern` |
68
+ | `d_534749` | `float64` | Source column. | `461048.0` |
69
+ | `d_928898` | `float64` | Source column. | `575343.0` |
70
+ | `d_699628` | `float64` | Source column. | `481788.0` |
71
+ | `d_582899` | `float64` | Source column. | `461949.0` |
72
+ | `d_826472` | `float64` | Source column. | `604405.0` |
73
+ | `d_711031` | `float64` | Source column. | `504043.0` |
74
+ | `d_2_5` | `float64` | Source column. | `0.1` |
75
+ | `d_3_3` | `float64` | Source column. | `1.4` |
76
+ | `d_0_5` | `float64` | Source column. | `1.3` |
77
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2016` |
78
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2025` |
79
+ | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `2016-2025` |
80
+ | `source_provider` | `string` | Publishing organization. | `Uganda Bureau of Statistics` |
81
+ | `source_dataset` | `string` | Source package title. | `Average Monthly consumption expenditure per household, Ugx (2016-17 pric` |
82
+ | `source_resource` | `string` | Source resource title. | `Average Monthly consumption expenditure per household, Ugx (2016-17 pric` |
83
+ | `source_package_id` | `string` | CKAN package UUID. | `average-monthly-consumption-expenditure-per-household-ugx-2016-17-prices` |
84
+ | `source_resource_id` | `string` | CKAN resource UUID. | `ubos-stat-10f5f8466c408c` |
85
+ | `source_url` | `string` | Original source resource URL. | `https://www.ubos.org/wp-content/uploads/statistics/Average-Monthly-consu` |
86
+ | `license_id` | `string` | Source license identifier. | `other-open` |
87
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-21T21:37:51Z` |
88
+
89
+ ## Usage
90
+
91
+ ```python
92
+ from datasets import load_dataset
93
+
94
+ ds = load_dataset("electricsheepafrica/africa-uganda-average-monthly-consumption-expenditure-per-household-ugx-87441c60")
95
+ df = ds["train"].to_pandas()
96
+ print(df.head())
97
+ ```
98
+
99
+ ### Filter to one country
100
+
101
+ ```python
102
+ sample_country = df[df["country_iso3"] == "UGA"]
103
+ ```
104
+
105
+ ### Work with indicators
106
+
107
+ ```python
108
+ if "indicator_id" in df.columns:
109
+ print(df["indicator_id"].value_counts().head())
110
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
111
+ ```
112
+
113
+ ## Citation
114
+
115
+ ```bibtex
116
+ @misc{electric_sheep_africa_africa_uganda_average_monthly_consumption_expenditure_per_household_ugx_87441c60_2025,
117
+ title = {Average Monthly consumption expenditure per household, Ugx (2016-17 prices) | Africa (Uganda official open data)},
118
+ author = {Uganda Bureau of Statistics},
119
+ year = {2025},
120
+ url = {https://www.ubos.org/explore-statistics/0/},
121
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
122
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-uganda-average-monthly-consumption-expenditure-per-household-ugx-87441c60}}
123
+ }
124
+ ```
125
+
126
+ ## License
127
+
128
+ Released under [Other open license]().
129
+
130
+ Original data (c) Uganda Bureau of Statistics. When using this dataset, please cite both the
131
+ original source above and the Electric Sheep Africa repackaging.
132
+
133
+ ## About Electric Sheep
134
+
135
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
136
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
137
+ open sources, normalize the schemas, package as Parquet, and publish with
138
+ consistent dataset cards so researchers and developers can use `load_dataset()`
139
+ to start working in seconds.
140
+
141
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
142
+
143
+ ---
144
+
145
+ Provenance: ingested 2026-07-21 via the Electric Sheep pipeline. Source URL:
146
+ https://www.ubos.org/wp-content/uploads/statistics/Average-Monthly-consumption-expenditure-per-household-Ugx-2016-17-prices.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e599b6e2e39761b17a32c09a967a45edd2f8cbcf5cb069aa0c748aed9cb98290
3
+ size 17940
metadata/source_snapshot.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "central",
8
+ "d_534749",
9
+ "d_928898",
10
+ "d_699628",
11
+ "d_582899",
12
+ "d_826472",
13
+ "d_711031",
14
+ "d_2_5",
15
+ "d_3_3",
16
+ "d_0_5",
17
+ "source_period_start_year",
18
+ "source_period_end_year",
19
+ "source_period_label",
20
+ "source_provider",
21
+ "source_dataset",
22
+ "source_resource",
23
+ "source_package_id",
24
+ "source_resource_id",
25
+ "source_url",
26
+ "license_id",
27
+ "retrieved_at"
28
+ ],
29
+ "generated_at": "2026-07-21T21:40:26Z",
30
+ "indicator_count": 0,
31
+ "mode": "tabular_resource",
32
+ "repo_id": "electricsheepafrica/africa-uganda-average-monthly-consumption-expenditure-per-household-ugx-87441c60",
33
+ "rows": 5,
34
+ "source": {
35
+ "api_base_url": "https://www.ubos.org/explore-statistics/0/",
36
+ "country_iso3": "UGA",
37
+ "country_name": "Uganda",
38
+ "group_names": "All Statistics; statistics; Average-Monthly-consumption-expenditure-per-household-Ugx-2016-17-prices.xlsx; 2025-10-14",
39
+ "license_id": "other-open",
40
+ "license_title": "UBOS public data reuse guidance",
41
+ "license_url": "https://www.ubos.org/about-us/guidelines-on-usage-and-reproduction-of-data/",
42
+ "organization_title": "Uganda Bureau of Statistics",
43
+ "package_id": "average-monthly-consumption-expenditure-per-household-ugx-2016-17-prices-ubos-st",
44
+ "package_name": "average-monthly-consumption-expenditure-per-household-ugx-2016-17-prices-ubos-st",
45
+ "package_notes": "Public UBOS statistics download listed under All Statistics.",
46
+ "package_page_url": "https://www.ubos.org/explore-statistics/0/",
47
+ "package_title": "Average Monthly consumption expenditure per household, Ugx (2016-17 prices)",
48
+ "package_type": "statistics-download",
49
+ "portal_title": "Uganda Bureau of Statistics",
50
+ "portal_url": "https://www.ubos.org",
51
+ "resource_created": "2025-10-14",
52
+ "resource_description": "Average Monthly consumption expenditure per household, Ugx (2016-17 prices) - Last Updated on 14th October 2025",
53
+ "resource_filename": "Average-Monthly-consumption-expenditure-per-household-Ugx-2016-17-prices.xlsx",
54
+ "resource_format": "XLSX",
55
+ "resource_id": "ubos-stat-10f5f8466c408c",
56
+ "resource_last_modified": "2025-10-14",
57
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
58
+ "resource_name": "Average Monthly consumption expenditure per household, Ugx (2016-17 prices)",
59
+ "resource_position": "49",
60
+ "resource_url": "https://www.ubos.org/wp-content/uploads/statistics/Average-Monthly-consumption-expenditure-per-household-Ugx-2016-17-prices.xlsx",
61
+ "source_catalog_id": "all-statistics",
62
+ "source_idno": "ubos-stat-10f5f8466c408c",
63
+ "source_total_downloads": "",
64
+ "source_total_views": "",
65
+ "tag_names": "ubos; official-statistics; public-download; statistics; xlsx; All Statistics"
66
+ },
67
+ "year_max": 2025,
68
+ "year_min": 2016
69
+ }