THULab/world_life_expectancy
world_life_expectancy (TsFile format) This repository contains time-series forecasting data stored in Apache TsFile format. Summary FEV subset: world_life_expectancy Unified source collection: autogluon/fev_datasets Original source: https://www.kaggle.com/datasets/nafayunnoor/global-life-expectancy-data-1950-2023 Paper / citation: [25] Series: 237 Modalities: Time-series TsFile rows (flattened observations): 17,538 Frequencies: source-defined TsFile files: 1 Time… See the full description on the dataset page: https://huggingface.co/datasets/THULab/world_life_expectancy.
worldlifeexpectancy (TsFile format)
This repository contains time-series forecasting data stored in Apache TsFile format.
Summary
- FEV subset:
world_life_expectancy - Unified source collection: `autogluon/fev_datasets`
- Original source: https://www.kaggle.com/datasets/nafayunnoor/global-life-expectancy-data-1950-2023
- Paper / citation: [[25]](https://ourworldindata.org/life-expectancy#article-citation)
- Series: 237
- Modalities: Time-series
- TsFile rows (flattened observations): 17,538
- Frequencies: source-defined
- TsFile files: 1
- Time precision: milliseconds (
INT64).
Licensing and citation requirements follow the original source. This repository does not claim ownership of the original data.
Dataset Statistics
Files
The Hugging Face dataset card YAML points configs.data_files to all *.tsfile files in this repository.
world_life_expectancy.tsfile
TsFile Storage Model
- Each original series (
id) is stored as one TsFile device. - Time-varying targets and dynamic covariates are stored as FIELD measurements.
- Source
timestampvalues are mapped to the TsFileTimecolumn as millisecond timestamps. - Table name(s): worldlifeexpectancy.
Column Schema
Note: 58 original id values contained invalid identifier characters and were normalized to valid device names, for example American Samoa→AmericanSamoa, Antigua and Barbuda→AntiguaandBarbuda, Bonaire Sint Eustatius and Saba→BonaireSintEustatiusand_Saba.Conversion Notes
- The source FEV format stores each time series as one nested row containing
id,timestamp[], and target or covariate arrays. - The TsFile conversion flattens those nested arrays into long rows. Therefore, the
TsFile rowsvalues above correspond to the number of timestamped observations after flattening. - TAG columns identify the device and static metadata. FIELD columns contain values that change over time.
- Large logical tables may be split into multiple
.tsfileshards such as<name>_1.tsfile,<name>_2.tsfile, and so on. Shards listed for the same frequency belong to the same logical table.
Reading Example
from tsfile import TsFileReader
reader = TsFileReader("world_life_expectancy.tsfile")
schemas = reader.get_all_table_schemas()
# Table name(s): world_life_expectancy