Methodology and data sources

Onviure compares Catalonia's 43 comarques using traceable official sources and documented derivations: housing prices, climate, safety, air quality, income and more. This page documents where every figure comes from, which period it covers, and how many comarques have a value.

Traceable data and visible gaps

Every figure comes from an identifiable source: official statistics, monitoring stations, weather reanalysis, election results or actual property listings. We do not fill gaps with estimated or invented values.

When a data point doesn't exist for a comarca, we show nothing — rather than estimating it. Estimated records are excluded at the source, before they can reach the site.

  • Air quality: 14 comarques have no monitoring station — we show no value for them.
  • Safety: 3 comarques have no data published by the Mossos d'Esquadra — we show no value for them.
  • Connectivity: the old dataset was a sample and remains excluded from the site; it will not be published until the Ministry's reusable municipal download can be imported and validated.

Sources, periods and coverage

Coverage = entities with a value from the named source or a documented derivation: out of the 43 comarques, or out of the 947 municipalities where the source is municipal (natural risk).

MetricSourcePeriodCoverage
Housing prices (registered sales)Idescat2024 (series 2013–2024)43 / 43
Average rent (registered mandatory deposits)Incasòl via Idescat202543 / 43
Live market prices (asking €/m², homes and land)Idealista (official API)Continuous snapshots, updated weekly43 / 43
Climate (tropical nights, hot days, cool nights)Open-Meteo (ERA5 reanalysis)2023–2025 average43 / 43
Political profile (independence, left–right axis)Parliament of Catalonia elections202443 / 43
GDHI per inhabitantIdescat2023 (provisional)43 / 43
Unemployment rate (unemployed / active population)Idescat (annual population census)202443 / 43
Foreign-born populationIdescat202543 / 43
Median ageComputed from Idescat's five-year age bands202343 / 43
Population growthIdescat (total crude growth rate)202443 / 43
Straight-line distances from the comarca capitalOpenStreetMap hospitals and project-maintained location cataloguesCurrent snapshot43 / 43
Tourist accommodationCatalan Tourism Register2026 (live register)43 / 43
SchoolsDepartment of Education (Generalitat)2025–2026 school year43 / 43
Protected nature (PEIN) and forestIdescat2022–202342 / 43
Air quality (PM2.5, PM10, NO₂, O₃)XVPCA monitoring stations (Generalitat)2025–202629 / 43
Offences per 1,000 residentsMossos d'Esquadra2025 (series 2011–2025)40 / 43
Places of worshipDGAR (Generalitat)Current register43 / 43
Flood risk (INUNCAT municipal level)Departament d'Interior (civil protection)Plan in force 2026947 / 947
Wildfire hazard (INFOCAT municipal level)Departament d'Interior (civil protection)Plan in force 2026947 / 947
Forest fires and area burnedDepartament d'Acció Climàtica2011–2024947 / 947
Catalan-language knowledge by comarca (can speak it)Population and Housing Census (Idescat/INE)201143 / 43
Catalan-language knowledge by municipality (can speak it)Population and Housing Census (Idescat/INE)2011937 / 947
Catalan form of given namesIdescat Onomàstica (annual population census, INE)202540 / 43

Metric definitions

Climate metrics

Tropical night
Night with minimum temperature ≥20°C (uncomfortable for sleep)
Cool night
Summer night (Jun-Aug) with minimum temperature <20°C (comfortable for sleep)
Hot day
Day with maximum temperature >32°C

Air quality

Excellent
PM2.5 <5 μg/m³
Good
PM2.5 <15 μg/m³
Moderate
PM2.5 <25 μg/m³
Poor
PM2.5 <35 μg/m³
Very poor
PM2.5 ≥35 μg/m³

Comarques without a monitoring station show no data — we never estimate values.

Safety Rating

Very safe
Top 20% safest (lowest crime rates)
Safe
Top 40% safest
Moderate
Middle 20%
Concerning
Bottom 40%
High crime
Bottom 20% (highest crime rates)

This relative ranking accounts for dataset characteristics and is standard in criminology.

AI-generated summaries

The narrative summary at the top of each comarca page is generated with AI, strictly from the data documented on this page. The AI writes prose; it never produces figures — every number comes from the sources above.

Update frequency

  • Market prices (Idealista): new snapshots every week.
  • Air quality: monthly import.
  • Crime and tourist accommodation: quarterly import.
  • Full site republish with fresh data: monthly.

Attributions

  • Statistical data: own elaboration based on Idescat data.
  • Comarca boundaries and facilities: Institut Cartogràfic i Geològic de Catalunya (ICGC), CC BY 4.0 licence.
  • Weather data by Open-Meteo.com, CC BY 4.0 licence.
  • Safety data: Generalitat de Catalunya. Departament d'Interior — Mossos d'Esquadra (open data).
  • Property market data: idealista, obtained through its official API.