Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,77 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: gpl
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
size_categories:
|
| 8 |
+
- 100K<n<1M
|
| 9 |
+
pretty_name: "Africa Synthetic Telecom Hardware Sensor Data Nigeria (TsFile)"
|
| 10 |
+
tags:
|
| 11 |
+
- TsFile
|
| 12 |
+
- time-series
|
| 13 |
+
- modality:timeseries
|
| 14 |
+
- telecom
|
| 15 |
+
- hardware
|
| 16 |
+
- sensor
|
| 17 |
+
- data
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: staged.tsfile
|
| 23 |
---
|
| 24 |
+
|
| 25 |
+
# Africa Synthetic Telecom Hardware Sensor Data Nigeria (TsFile)
|
| 26 |
+
|
| 27 |
+
This dataset is an Apache TsFile conversion of [`electricsheepafrica/africa-synth-telecom-hardware-sensor-data-nigeria`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-telecom-hardware-sensor-data-nigeria), a synthetic Nigerian telecom tower hardware sensor dataset with temperature, power, voltage, humidity, vibration, health-status, and alert readings.
|
| 28 |
+
|
| 29 |
+
## Source Dataset
|
| 30 |
+
|
| 31 |
+
- **Original dataset:** [`electricsheepafrica/africa-synth-telecom-hardware-sensor-data-nigeria`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-telecom-hardware-sensor-data-nigeria)
|
| 32 |
+
- **Source files:** `hardware_sensor_data.parquet` and `hardware_sensor_data.csv`
|
| 33 |
+
- **Rows:** 500,000
|
| 34 |
+
- **Columns:** 12
|
| 35 |
+
- **Generated date in source card:** 2025-10-05
|
| 36 |
+
- **Time range in converted data:** 2025-09-01 00:00:00 to 2025-10-01 23:59:00
|
| 37 |
+
- **License note:** the source card metadata declares `gpl`; the source README body also says "MIT License - For educational and research purposes".
|
| 38 |
+
|
| 39 |
+
## TsFile Conversion
|
| 40 |
+
|
| 41 |
+
- **Converted file:** `staged.tsfile`
|
| 42 |
+
- **TsFile size:** 690,291,491 bytes
|
| 43 |
+
- **TsFile table:** `hardware_sensor_data`
|
| 44 |
+
- **Time column:** source `timestamp` is parsed as the TsFile `Time` column with millisecond precision.
|
| 45 |
+
- **TAG column:** `sensor_id`; the source has 500,000 unique sensor IDs, so `(sensor_id, Time)` is unique.
|
| 46 |
+
- **Rows preserved:** 500,000 source rows -> 500,000 staged rows.
|
| 47 |
+
- **Columns preserved:** all 12 source columns are represented; no source columns or rows are dropped.
|
| 48 |
+
|
| 49 |
+
## Schema
|
| 50 |
+
|
| 51 |
+
| Role | Column | Type | Notes |
|
| 52 |
+
|---|---|---|---|
|
| 53 |
+
| TIME | `Time` | INT64 ms | Renamed from source `timestamp` during staging |
|
| 54 |
+
| TAG | `sensor_id` | STRING | TsFile device dimension |
|
| 55 |
+
| FIELD | `tower_id` | STRING | Tower identifier |
|
| 56 |
+
| FIELD | `city` | STRING | Nigerian city |
|
| 57 |
+
| FIELD | `equipment_type` | STRING | Hardware category |
|
| 58 |
+
| FIELD | `temperature_celsius` | DOUBLE | Sensor measurement |
|
| 59 |
+
| FIELD | `power_draw_watts` | DOUBLE | Sensor measurement |
|
| 60 |
+
| FIELD | `voltage_v` | DOUBLE | Sensor measurement |
|
| 61 |
+
| FIELD | `humidity_percent` | DOUBLE | Sensor measurement |
|
| 62 |
+
| FIELD | `vibration_level` | DOUBLE | Sensor measurement |
|
| 63 |
+
| FIELD | `health_status` | STRING | Values observed locally: `normal`, `warning` |
|
| 64 |
+
| FIELD | `alert_triggered` | BOOLEAN | 20,508 true values in the converted data |
|
| 65 |
+
|
| 66 |
+
## Read Example
|
| 67 |
+
|
| 68 |
+
Use Apache TsFile tooling or SDKs to read:
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
from tsfile import TsFileReader
|
| 72 |
+
|
| 73 |
+
path = "staged.tsfile"
|
| 74 |
+
reader = TsFileReader(path)
|
| 75 |
+
schemas = reader.get_all_table_schemas()
|
| 76 |
+
reader.close()
|
| 77 |
+
```
|