Work

Territorial Analysis Based on Data from the Distribution of Taxpayers in Ecuador: A Data Science Approach Using Open Data from the Tax Registry

Year: 2026
Type: article
Abstract: Open fiscal data in Ecuador remains largely unexplored beyond basic descriptive reporting, despite its potential for territorial intelligence and fiscal planning. This study examines how taxpayers are distributed across Ecuador’s provinces and economic sectors by applying a Big Data pipeline built on Apache Spark 3.5, PostgreSQL 14/PostGIS 3.2, and Python 3.11 spatial libraries to the SRI Tax Registry, comprising approximately 2.5 million records. The analysis combined K-Means and DBSCAN clustering with spatial autocorrelation methods, including Moran’s Index and LISA, to identify concentration patterns and territorial dependencies. The findings show that 68% of taxpayers are located in three provinces, namely Pichincha (34%), Guayas (24%), and Azuay (10%), with a spatial Gini coefficient of 0.61 reflecting considerable fiscal inequality across the country. A Global Moran’s Index of 0.49 (p < 0.001) confirms that neighboring provinces tend to share similar taxpayer densities, while LISA revealed five High–High clusters in major urban centers and six Low–Low clusters in the Amazon region and northern border. DBSCAN identified 27 spatial groupings, including secondary economic nuclei in cities like Ambato, Riobamba, and Machala that autocorrelation models alone do not capture. The methodology is replicable and offers a practical basis for designing place-based fiscal policies in similar contexts. These results provide tax authorities and regional planners with an empirically grounded, scalable framework for identifying territories with fiscal formalization gaps and designing geographically targeted interventions to reduce territorial inequality in Ecuador and in comparable developing-country contexts.
Institution: Universidad Israel
Language: English
Open Access status: gold
Estimated APC paid: $2,172
OpenAlex ID: W7162776876
FWCI:
Cites:
Cited by:
Related to: