@gasolinaradar/miteco-collector
v0.1.4
Published
Collector for MITECO RIPREE electric vehicle charging stations (Spain) returning normalized EV stations
Maintainers
Readme
@gasolinaradar/miteco-collector
Collector for MITECO RIPREE electric vehicle charging stations (Spain).
Fetches the RIPREE census CSV from the MITECO endpoint, parses the UTF-16LE semicolon-separated file, and returns normalized EV stations matching the shared GasolinaRadar Station contract.
Usage
const { createMitecoCollector, fetchStations } = require('@gasolinaradar/miteco-collector');
// Via collector wrapper
const collector = createMitecoCollector();
const stations = await collector.fetch();
// Or directly
const stations = await fetchStations();Station contract
Each station includes:
source:'miteco'country:'ES'sourceStationId:'miteco-<COD.INSTALACION>'name,address,municipality,province,postalCodelocation: GeoJSON Point[lon, lat]operator:{ name }schedule: raw schedule textevseCount: distinct ID. PUNTO DE RECARGA per installationconnectors[]:{ type, format, mode, maxPowerKw, voltageV, maxCurrentA }services:['ev_charging']lastUpdated: max FECHA DE ULTIMA MODIFICACION per installation
