Olaroti commited on
Commit
b61a40c
·
verified ·
1 Parent(s): f0b9334

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +132 -67
README.md CHANGED
@@ -5,85 +5,107 @@ language:
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
- - mauritius
16
- - official-statistics
17
- - open-data
18
- - tourism
 
 
 
 
 
 
 
19
  configs:
20
  - config_name: default
21
  data_files:
22
  - split: train
23
  path: data/train-00000-of-00001.parquet
24
- pretty_name: "Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels | Africa (Mauritius official open data)"
25
  ---
26
 
27
- # Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels | Africa (Mauritius official open data)
28
 
29
- 60 rows - 1 Africa country - 2019-2023 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
 
31
  ![rows](https://img.shields.io/badge/rows-60-blue)
32
  ![countries](https://img.shields.io/badge/countries-1-green)
33
- ![years](https://img.shields.io/badge/years-2019-2023-orange)
34
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
35
- ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
36
 
37
  ## TL;DR
38
 
39
- This dataset packages one official `CSV` resource from **Mauritius** as
40
- ML-ready Parquet. The source file is the provenance boundary; all usable
41
- indicators or tabular columns from the resource stay together in this repo.
42
 
43
- ## About the source
44
 
45
- - **Source:** [Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels](https://data.govmu.org/dataset/monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels)
46
- - **Publisher:** MDPA
47
- - **Resource:** [CSV File](https://data.govmu.org/dataset/677fa347-5688-4465-b1ae-fe4617e8b97d/resource/4ddda3da-4bb5-43be-976d-e8d376d4f28d/download/table1.csv)
48
- - **Format:** `CSV`
49
- - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
50
- - **Packaging mode:** `indicator_long`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
- ## Geographic coverage
53
 
54
- 1 Africa country:
55
 
56
- | Country | Rows | First year | Last year | Name |
57
- |---------|-----:|-----------:|----------:|------|
58
  | `MU` | 60 | 2019 | 2023 | `Mauritius` |
59
 
60
- ## Indicators or Resource Contents
61
 
62
- - `monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels-446c0b79` - Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels
63
 
64
  ## Schema
65
 
66
  | Column | Type | Description | Example |
67
  |--------|------|-------------|---------|
68
- | `indicator_id` | `string` | Stable indicator identifier. | `monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels-446c0b79` |
69
  | `indicator_name` | `string` | Human-readable indicator name. | `Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels` |
70
- | `country_iso3` | `string` | ISO3 country code. | `MU` |
71
- | `country_name` | `string` | Country name. | `Mauritius` |
72
- | `year` | `Int64` | Observation year. | `2019` |
73
- | `value` | `float64` | Numeric observation value. | `72.0` |
74
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
75
- | `dimension_month` | `string` | Source dimension. | `January` |
76
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2019` |
77
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2023` |
78
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2019-2023` |
79
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
80
- | `source_dataset` | `category` | Source package title. | `Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels` |
81
- | `source_resource` | `category` | Source resource title. | `CSV File` |
82
- | `source_package_id` | `category` | CKAN package UUID. | `677fa347-5688-4465-b1ae-fe4617e8b97d` |
83
- | `source_resource_id` | `category` | CKAN resource UUID. | `4ddda3da-4bb5-43be-976d-e8d376d4f28d` |
84
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/677fa347-5688-4465-b1ae-fe4617e8b97d/reso` |
85
- | `license_id` | `category` | Source license identifier. | `cc-by` |
86
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:24:44Z` |
87
 
88
  ## Usage
89
 
@@ -95,29 +117,78 @@ df = ds["train"].to_pandas()
95
  print(df.head())
96
  ```
97
 
98
- ### Filter to one country
99
 
100
  ```python
101
- sample_country = df[df["country_iso3"] == "MU"]
 
102
  ```
103
 
104
- ### Work with indicators
105
 
106
  ```python
107
- if "indicator_id" in df.columns:
108
- print(df["indicator_id"].value_counts().head())
109
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
110
  ```
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  ## Citation
113
 
114
  ```bibtex
115
  @misc{electric_sheep_africa_africa_mauritius_monthly_hotel_room_occupancy_rate_2019_to_2023_for_all_hot_446c_2023,
116
- title = {Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels | Africa (Mauritius official open data)},
117
  author = {MDPA},
118
  year = {2023},
119
  url = {https://data.govmu.org/dataset/monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels},
120
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
121
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hot-446c0b79}}
122
  }
123
  ```
@@ -126,20 +197,14 @@ if "indicator_id" in df.columns:
126
 
127
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
128
 
129
- Original data (c) MDPA. When using this dataset, please cite both the
130
- original source above and the Electric Sheep Africa repackaging.
131
-
132
- ## About Electric Sheep
133
 
134
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
135
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
136
- open sources, normalize the schemas, package as Parquet, and publish with
137
- consistent dataset cards so researchers and developers can use `load_dataset()`
138
- to start working in seconds.
139
 
140
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
141
 
142
  ---
143
 
144
- Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
145
- https://data.govmu.org/dataset/677fa347-5688-4465-b1ae-fe4617e8b97d/resource/4ddda3da-4bb5-43be-976d-e8d376d4f28d/download/table1.csv
 
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "mauritius"
17
+ - "mdpa"
18
+ - "transport"
19
+ - "travel-and-tourism"
20
+ - "tourism"
21
+ - "tourist"
22
+ - "large-hotels"
23
+ - "occupancy"
24
+ - "passengers"
25
+ - "room"
26
  configs:
27
  - config_name: default
28
  data_files:
29
  - split: train
30
  path: data/train-00000-of-00001.parquet
31
+ pretty_name: "Monthly Hotel Room Occupancy Rate 2019 to 2023 for All Hot | Africa (MDPA)"
32
  ---
33
 
34
+ # Monthly Hotel Room Occupancy Rate 2019 to 2023 for All Hot | Africa (MDPA)
35
 
36
+ **60 rows** - **1 Africa country/area** - **2019-2023** - **1 indicator** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
37
 
38
  ![rows](https://img.shields.io/badge/rows-60-blue)
39
  ![countries](https://img.shields.io/badge/countries-1-green)
40
+ ![period](https://img.shields.io/badge/period-2019--2023-orange)
41
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
42
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
43
 
44
  ## TL;DR
45
 
46
+ This dataset contains **60 rows** from **MDPA**, covering **Monthly Hotel Room Occupancy Rate 2019 to 2023 for All Hot**. 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
+ Transport datasets help analysts examine mobility, infrastructure, passenger movement, logistics, and access to services.
51
+
52
+ Source-provided context: Dataset shows Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels
53
+
54
+ ## How To Read This Dataset
55
+
56
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
57
+ - **Primary geography column:** `country_iso3`.
58
+ - **Best time column:** `year`.
59
+ - **Time coverage basis:** year.
60
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
61
+
62
+ ## Coverage
63
+
64
+ | Dimension | Value |
65
+ |---|---:|
66
+ | Rows | 60 |
67
+ | Countries/areas | 1 |
68
+ | First period | 2019 |
69
+ | Last period | 2023 |
70
+ | Indicators | 1 |
71
+ | Columns | 19 |
72
+ | Source format | CSV |
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
  | `MU` | 60 | 2019 | 2023 | `Mauritius` |
81
 
82
+ ## Indicators, Variables, Or Resource Contents
83
 
84
+ - `monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels-446c0b79` - Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels(source_units_unspecified)
85
 
86
  ## Schema
87
 
88
  | Column | Type | Description | Example |
89
  |--------|------|-------------|---------|
90
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels-446c0b79` |
91
  | `indicator_name` | `string` | Human-readable indicator name. | `Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels` |
92
+ | `country_iso3` | `string` | ISO3 country or area code. | `MU` |
93
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
94
+ | `year` | `int64` | Observation year. | `2019` |
95
+ | `value` | `double` | Numeric observation value. | `72.0` |
96
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
97
+ | `dimension_month` | `string` | Source dimension retained during long-form normalization. | `January` |
98
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2019` |
99
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2023` |
100
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2019-2023` |
101
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
102
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Monthly Hotel Room Occupancy Rate, 2019 to 2023 for All Hotels` |
103
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `CSV File` |
104
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `677fa347-5688-4465-b1ae-fe4617e8b97d` |
105
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `4ddda3da-4bb5-43be-976d-e8d376d4f28d` |
106
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/677fa347-5688-4465-b1ae-fe4617e8b97d/r...` |
107
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `cc-by` |
108
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:24:44Z` |
109
 
110
  ## Usage
111
 
 
117
  print(df.head())
118
  ```
119
 
120
+ ### Inspect Columns
121
 
122
  ```python
123
+ print(df.info())
124
+ print(df.head())
125
  ```
126
 
127
+ ### Filter By Geography
128
 
129
  ```python
130
+ if "country_iso3" in df.columns:
131
+ sample = df[df["country_iso3"] == "MU"]
 
132
  ```
133
 
134
+ ### Time-Series Pattern
135
+
136
+ ```python
137
+ if "value" in df.columns and "year" in df.columns:
138
+ trend = df.sort_values("year")
139
+ ```
140
+
141
+ ### Pivot For Analysis
142
+
143
+ ```python
144
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
145
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
146
+ print(matrix.tail())
147
+ ```
148
+
149
+ ## Data Quality Notes
150
+
151
+ - Canonical time field: `year`.
152
+ - Missing values are preserved rather than silently imputed.
153
+ - Column names are standardized for machine use; source meanings are preserved where known.
154
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
155
+
156
+ ## Source And Provenance
157
+
158
+ - **Source:** [MDPA](https://data.govmu.org/dataset/monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels)
159
+ - **Publisher:** MDPA
160
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
161
+ - **Resource:** [CSV File](https://data.govmu.org/dataset/677fa347-5688-4465-b1ae-fe4617e8b97d/resource/4ddda3da-4bb5-43be-976d-e8d376d4f28d/download/table1.csv)
162
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
163
+ - **Retrieved/generated:** `2026-08-08T16:25:11Z`
164
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hot-446c0b79](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hot-446c0b79)
165
+
166
+ ## Transformations Applied
167
+
168
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
169
+ - Added or preserved source provenance columns where available.
170
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
171
+ - Preserved source-reported values without analytical imputation.
172
+
173
+ ## Suggested Analyses
174
+
175
+ - Track mobility over time
176
+ - Compare routes or geographies
177
+ - Join with economic and population data
178
+ - Build time-series views and period-over-period comparisons
179
+ - Pivot to geography x period or indicator x period matrices
180
+ - Check missingness before modeling
181
+ - Use `country_iso3` as the safest geography join key when present
182
+
183
  ## Citation
184
 
185
  ```bibtex
186
  @misc{electric_sheep_africa_africa_mauritius_monthly_hotel_room_occupancy_rate_2019_to_2023_for_all_hot_446c_2023,
187
+ title = {Monthly Hotel Room Occupancy Rate 2019 to 2023 for All Hot | Africa (MDPA)},
188
  author = {MDPA},
189
  year = {2023},
190
  url = {https://data.govmu.org/dataset/monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels},
191
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
192
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hot-446c0b79}}
193
  }
194
  ```
 
197
 
198
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
199
 
200
+ Original data is published by MDPA. Electric Sheep Africa
201
+ engineering standardizes the data for discovery, loading, and analysis on
202
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
203
 
204
+ ## About Electric Sheep Africa
 
 
 
 
205
 
206
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
207
 
208
  ---
209
 
210
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/monthly-hotel-room-occupancy-rate-2019-to-2023-for-all-hotels