interva commited on
Commit
7ed68a8
·
verified ·
1 Parent(s): cfa6e53

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odbl
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - ghana
16
+ - official-statistics
17
+ - open-data
18
+ pretty_name: "Agriculture Mechanization data | Africa (Ghana official open data)"
19
+ ---
20
+
21
+ # Agriculture Mechanization data | Africa (Ghana official open data)
22
+
23
+ 5 rows - 1 Africa country - 2007-2011 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-5-blue)
26
+ ![countries](https://img.shields.io/badge/countries-1-green)
27
+ ![years](https://img.shields.io/badge/years-2007-2011-orange)
28
+ ![indicators](https://img.shields.io/badge/indicators-1-purple)
29
+ ![license](https://img.shields.io/badge/license-odbl-lightgrey)
30
+
31
+ ## TL;DR
32
+
33
+ This dataset packages one official `CSV` resource from **Ghana** as
34
+ ML-ready Parquet. The source file is the provenance boundary; all usable
35
+ indicators or tabular columns from the resource stay together in this repo.
36
+
37
+ ## About the source
38
+
39
+ - **Source:** [Agriculture Mechanization data](http://data.gov.gh/dataset/agriculture-mechanization-data)
40
+ - **Publisher:** Official government open data portal
41
+ - **Resource:** [Agricultural Machinery and Equipment 2007-2011](http://data.gov.gh/sites/default/files/harvest_resources/Agricultural%2520Machinery%2520and%2520Equipment.csv)
42
+ - **Format:** `CSV`
43
+ - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/)
44
+ - **Packaging mode:** `indicator_long`
45
+
46
+ ## Geographic coverage
47
+
48
+ 1 Africa country:
49
+
50
+ | Country | Rows | First year | Last year | Name |
51
+ |---------|-----:|-----------:|----------:|------|
52
+ | `GHA` | 5 | 2007 | 2011 | `Ghana` |
53
+
54
+ ## Indicators or Resource Contents
55
+
56
+ - `agriculture-mechanization-data-d48a9179` - Agriculture Mechanization data
57
+
58
+ ## Schema
59
+
60
+ | Column | Type | Description | Example |
61
+ |--------|------|-------------|---------|
62
+ | `indicator_id` | `string` | Stable indicator identifier. | `agriculture-mechanization-data-d48a9179` |
63
+ | `indicator_name` | `string` | Human-readable indicator name. | `Agriculture Mechanization data` |
64
+ | `country_iso3` | `string` | ISO3 country code. | `GHA` |
65
+ | `country_name` | `string` | Country name. | `Ghana` |
66
+ | `year` | `Int64` | Observation year. | `2007` |
67
+ | `value` | `float64` | Numeric observation value. | `230.0` |
68
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
69
+ | `dimension_unnamed_1` | `string` | Source dimension. | `Farmtrac-60 tractors` |
70
+ | `source_provider` | `string` | Publishing organization. | `Official government open data portal` |
71
+ | `source_dataset` | `string` | Source package title. | `Agriculture Mechanization data` |
72
+ | `source_resource` | `string` | Source resource title. | `Agricultural Machinery and Equipment 2007-2011` |
73
+ | `source_package_id` | `string` | CKAN package UUID. | `48997108-bdb8-4da4-9bf8-00fd593666ab` |
74
+ | `source_resource_id` | `string` | CKAN resource UUID. | `db899d11-960d-44f1-a22e-e700142d0898` |
75
+ | `source_url` | `string` | Original source resource URL. | `http://data.gov.gh/sites/default/files/harvest_resources/Agricultural%25` |
76
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
77
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-18T19:31:25Z` |
78
+
79
+ ## Usage
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("electricsheepafrica/africa-ghana-agriculture-mechanization-data-27420cfc")
85
+ df = ds["train"].to_pandas()
86
+ print(df.head())
87
+ ```
88
+
89
+ ### Filter to one country
90
+
91
+ ```python
92
+ sample_country = df[df["country_iso3"] == "GHA"]
93
+ ```
94
+
95
+ ### Work with indicators
96
+
97
+ ```python
98
+ if "indicator_id" in df.columns:
99
+ print(df["indicator_id"].value_counts().head())
100
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
101
+ ```
102
+
103
+ ## Citation
104
+
105
+ ```bibtex
106
+ @misc{electric_sheep_africa_africa_ghana_agriculture_mechanization_data_27420cfc_2011,
107
+ title = {Agriculture Mechanization data | Africa (Ghana official open data)},
108
+ author = {Official government open data portal},
109
+ year = {2011},
110
+ url = {http://data.gov.gh/dataset/agriculture-mechanization-data},
111
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
112
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ghana-agriculture-mechanization-data-27420cfc}}
113
+ }
114
+ ```
115
+
116
+ ## License
117
+
118
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
119
+
120
+ Original data (c) Official government open data portal. When using this dataset, please cite both the
121
+ original source above and the Electric Sheep Africa repackaging.
122
+
123
+ ## About Electric Sheep
124
+
125
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
126
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
127
+ open sources, normalize the schemas, package as Parquet, and publish with
128
+ consistent dataset cards so researchers and developers can use `load_dataset()`
129
+ to start working in seconds.
130
+
131
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
132
+
133
+ ---
134
+
135
+ Provenance: ingested 2026-07-18 via the Electric Sheep pipeline. Source URL:
136
+ http://data.gov.gh/sites/default/files/harvest_resources/Agricultural%2520Machinery%2520and%2520Equipment.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37fb4fe223bb3343f2aa8af1ce987ad287f725ad788953b322039b926da68aa3
3
+ size 11780
metadata/source_snapshot.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "country_name",
7
+ "year",
8
+ "value",
9
+ "unit",
10
+ "dimension_unnamed_1",
11
+ "source_provider",
12
+ "source_dataset",
13
+ "source_resource",
14
+ "source_package_id",
15
+ "source_resource_id",
16
+ "source_url",
17
+ "license_id",
18
+ "retrieved_at"
19
+ ],
20
+ "generated_at": "2026-07-18T19:31:42Z",
21
+ "indicator_count": 1,
22
+ "mode": "indicator_long",
23
+ "repo_id": "electricsheepafrica/africa-ghana-agriculture-mechanization-data-27420cfc",
24
+ "rows": 5,
25
+ "source": {
26
+ "api_base_url": "http://data.gov.gh",
27
+ "country_iso3": "GHA",
28
+ "country_name": "Ghana",
29
+ "group_names": "group/agriculture-sector",
30
+ "license_id": "odc-odbl",
31
+ "license_title": "https://opendatacommons.org/licenses/odbl/1.0/",
32
+ "license_url": "",
33
+ "organization_id": "",
34
+ "organization_name": "",
35
+ "organization_title": "",
36
+ "package_author": "",
37
+ "package_id": "48997108-bdb8-4da4-9bf8-00fd593666ab",
38
+ "package_maintainer": "Ghana Open Data Initiative",
39
+ "package_metadata_created": "2016-02-24 00:00:00",
40
+ "package_metadata_modified": "2016-02-24",
41
+ "package_name": "agriculture-mechanization-data",
42
+ "package_notes": "<p>Agriculture Mechanization data showing Agriculture equipment and machinery, fertilizer import and and grants to support mechanized farming</p>",
43
+ "package_page_url": "http://data.gov.gh/dataset/agriculture-mechanization-data",
44
+ "package_private": "True",
45
+ "package_state": "Active",
46
+ "package_title": "Agriculture Mechanization data",
47
+ "package_version": "",
48
+ "portal_url": "http://data.gov.gh",
49
+ "resource_created": "Fri, 08/17/2018 - 23:39",
50
+ "resource_datastore_active": "False",
51
+ "resource_description": "<p>Agriculture Machinery and Equipment importation model and quantity</p>",
52
+ "resource_format": "CSV",
53
+ "resource_hash": "",
54
+ "resource_id": "db899d11-960d-44f1-a22e-e700142d0898",
55
+ "resource_last_modified": "Date changed Fri, 08/17/2018 - 23:45",
56
+ "resource_mimetype": "text/csv",
57
+ "resource_name": "Agricultural Machinery and Equipment 2007-2011",
58
+ "resource_position": "1",
59
+ "resource_size": "981 bytes",
60
+ "resource_state": "Active",
61
+ "resource_url": "http://data.gov.gh/sites/default/files/harvest_resources/Agricultural%2520Machinery%2520and%2520Equipment.csv",
62
+ "retrieved_at": "2026-07-18T18:58:12Z",
63
+ "tag_names": "Agriculture"
64
+ },
65
+ "year_max": 2011,
66
+ "year_min": 2007
67
+ }