Methodology
How we collect, process and present data on DatiItalia.
Introduction
DatiItalia collects data from official Italian and European sources. This page explains our sources, processing procedures and methodological choices.
Data Sources
- ISTAT — Italian National Institute of Statistics (istat.it). Datasets: POSAS (resident population by age and sex, via the SDMX API, annual updates, latest year 2026), the 8milaCensus historical census series 1951-2011, and the demographic balance (births, deaths, balance). Covers resident population, age structure, migration balance and gender distribution for every municipality.
- MEF — Ministry of Economy and Finance, Department of Finance (finanze.gov.it). Dataset: personal income tax returns per municipality (annual open data, latest tax year 2023). Average and median income, distribution by income brackets, number of taxpayers.
- ISPRA — Institute for Environmental Protection and Research (isprambiente.gov.it). Dataset: Land Consumption Report (2024 edition, updated annually). Consumed area in hectares and consumption percentage per municipality.
- EEA — European Environment Agency (eea.europa.eu). Dataset: gridded interpolated air quality (latest available year 2022, updated annually). Annual average concentrations of PM2.5, PM10, NO2 and Ozone for municipalities covered by monitoring.
Coverage
DatiItalia covers all 7,904 Italian municipalities. For each one we publish the data available in the official sources: population and demographic indicators for every municipality, income for municipalities with MEF-registered tax returns, environmental data for municipalities covered by ISPRA/EEA monitoring. Each municipality page states the reference year of every figure.
Update frequency
The data pipeline runs automatically every week and picks up new source releases: ISTAT publishes population annually (plus provisional monthly demographic balances), MEF income once a year, ISPRA land consumption once a year, EEA air quality once a year. The last-update date of each dataset is shown at the bottom of every municipality page.
Data Processing
Raw data is automatically downloaded from official sources, normalized and stored in a PostgreSQL database. The update process runs weekly through automated scripts, and every dataset keeps its provenance (source, URL and acquisition date), also exposed through the public API.
Quality of Life Index
The quality of life index is a composite index calculated as a weighted average of five dimensions: Income (30%), Environment (25%), Services (20%), Demographics (15%), Safety (10%). Each dimension is normalized on a 0-100 scale.
Limitations
The data has some limitations: not all municipalities have complete data for every indicator; environmental data is only available for monitored cities; updates have different frequencies depending on the source.