Public data / Dataset
Life expectancy in Romania
Series by age and sex for comparing life expectancy; the example selects Romania and the under-one age group.
Before you use this resource
The indicator describes mortality in the observed period, not an individual lifespan prediction. Retain provisional flags and compare the same age.
- Published by
- Eurostat
- Source
- Public institution
- Collection
- Public data
- Resource type
- Dataset
- Coverage
- Romania; European comparisons
- Documented formats
- JSON-stat, HTML
- Licence / terms
- Eurostat reuse policy
- API access
- Documented API
- Record review date
- 2026-09-07
- Last resource update
- 2026-06-04T23:00:00+0200
- Technical data audit
- Not performed
- Documentation
- Source reviewed
Documentation
One API response was read, including dimensions, period and presence of observations. No complete statistical audit was performed.
The cited page documents this record. Check the original source for terms and versions before reuse.
Getting started
- Choose sex and age; for the at-birth reference, check Y_LT1.
- Retain unit YR, year and flags before comparing countries.
Access and checks
- Inspected API example ↗ · JSON-stat
Sample inspected on 2026-09-07 - Definition and methodology ↗ · HTML
Documented access; content not tested.
Direct API queries
curl -s 'https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/demo_mlexpec?lang=EN&geo=RO&lastTimePeriod=1&sex=T&age=Y_LT1' | jq .import urllib.request
import json
url = "https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/demo_mlexpec?lang=EN&geo=RO&lastTimePeriod=1&sex=T&age=Y_LT1"
req = urllib.request.Request(url, headers={"User-Agent": "CunoastereDeschisa/1.7"})
with urllib.request.urlopen(req) as resp:
data = json.loads(resp.read().decode("utf-8"))
print(json.dumps(data, indent=2)[:500])library(jsonlite)
data <- fromJSON("https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/demo_mlexpec?lang=EN&geo=RO&lastTimePeriod=1&sex=T&age=Y_LT1")
str(data)INSTALL httpfs;
LOAD httpfs;
SELECT * FROM read_json_auto('https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/demo_mlexpec?lang=EN&geo=RO&lastTimePeriod=1&sex=T&age=Y_LT1')
LIMIT 10;Executable query snippets for command line, data pipelines, or DuckDB.
Continue your research
Editorial suggestions for discovery. These links do not establish technical integration or licence compatibility.