Municipal Electric Vehicle Charging Infrastructure in Spain: Geographical Accessibility, Charging Capacity, Socioeconomic Characteristics and Vehicle Fleets
Description
This dataset provides municipality-level information on public electric vehicle (EV) charging infrastructure, geographical accessibility, socioeconomic characteristics and registered vehicle fleets in Spain. It supports research on territorial disparities in charging provision and the relationship between local socioeconomic conditions and access to electric mobility. The principal file, datos_modelos.csv, contains 8,131 Spanish municipalities and 26 variables. Charging accessibility is measured through six indicators: geodesic distance, road-network distance and estimated driving time to public charging infrastructure, calculated separately for connectors rated below 150 kW and those rated at or above 150 kW. Distances are expressed in kilometres and estimated travel times in minutes. The dataset also includes municipal income, population, demographic characteristics, degree of urbanisation (DEGURBA), NUTS2 regional identifiers, night-time illumination and registered vehicle-fleet indicators. Fleet variables distinguish total vehicles, passenger cars and selected environmental classifications, including Electrificado and Distintivo 0. These classifications should not be interpreted as equivalent to battery-electric vehicle counts. The data integrate information originating from the Spanish Ministry for Ecological Transition (MITECO), the Directorate-General for Traffic (DGT), and the National Statistics Institute (INE), together with geographical and road-network information associated with OpenStreetMap and Geofabrik. Night-time illumination is represented by a VIIRS-derived municipal indicator. The precise release or extraction dates of some original sources remain unverified. The accompanying Base_Datos.zip contains Base03.csv and Base03.gpkg, providing additional municipal attributes, charging-capacity information and geographical data. The notebook EV_Charging_Spain.ipynb documents a related analysis of municipal charging presence and installed power, including regression and spatial econometric specifications. It is not the direct reproduction script for the six accessibility indicators. The deposited files combine original derived analytical measures with harmonised secondary data. They represent a cross-sectional research resource assembled from sources covering different reference periods, rather than a longitudinal panel. The accessibility indicators measure geographical and modelled road-network proximity, not real-time charging availability, operational reliability or individual travel behaviour.
Files
Steps to reproduce
1. Download the three files included in the dataset record: datos_modelos.csv, Base_Datos.zip and EV_Charging_Spain.ipynb. 2. Import datos_modelos.csv into Python, R or another statistical analysis environment using UTF-8 encoding. Treat codmun_ine as a five-character municipal identifier, preserving leading zeros. The file contains 8,131 municipal observations and 26 variables. 3. Inspect the six geographical accessibility indicators: distancia_lt150_km, carretera_lt150_km, tiempo_lt150_min, distancia_ge150_km, carretera_ge150_km and tiempo_ge150_min. These represent geodesic distance, modelled road distance and estimated driving time for two connector-power groups.
Institutions
- Universitat de ValènciaValencia, Valencia
- Universidad de ZaragozaAragon, Zaragoza