Spatial intelligence platform for Spain. Four urban metrics on a 3D map so citizens, journalists, and researchers can see how money, business, income, and rent shape cities.
| Metric | What it answers |
|---|---|
| Public Spending | Where public money goes — contracts, awards, and procurement |
| Business Power | Where economic activity concentrates — firms and commercial nodes |
| Salary & Household Income | What households earn — census-tract income |
| Rent Costs | What housing costs — official rent indices and market listings |
Target: all Spanish municipalities (INE municipal codes), filterable by province. Geography keys stay generic: province → municipality → census tract (sección censal) → neighborhood → coordinates.
CCAA → INE province codes, metric readiness, and seed aliases: docs/geographic-coverage.md.
Prefer national sources that scale to any municipality or province. Regional portals and city-specific listing URLs are supplements for the pilot.
- PLACSP — national public procurement; Atom syndication (CODICE) (paginate via
rel="next"). Pilot ingest filters by province (39Cantabria;01/20/48País Vasco;33Asturias viapnpm scrape:placsp:cantabria/pnpm scrape:placsp:pais-vasco/pnpm scrape:placsp:asturias). Fields: tender title, awarded amount (€), awardee, execution location, awarding date.
- INE DIRCE — active businesses by municipality and sector group. Ingest: table 4721 CSV via
pnpm scrape:dirce:cantabria/pnpm scrape:dirce:pais-vasco/pnpm scrape:dirce:asturias. - Regional stats (pilot): ICANE — directorio de empresas
- OpenStreetMap Overpass (
https://overpass-api.de/api/interpreter) — commercial nodes (office,shop,amenity=bank,industrial,building=commercial) around configurable neighborhood centroids
- INE ADRH — household income atlas. Catalog: datos.gob.es. Ingest: jaxiT3 province CSVs (
https://www.ine.es/jaxiT3/files/t/csv_bdsc/{tableId}.csv); resolvetableIdfrom the ADRH operation table index (do not use the deadwsevents/.../ADRHJSON API). - Granularity: municipality aggregates (5-digit INE; sección rows aggregated at scrape when needed). Fields: renta neta media por persona / por hogar (€/year)
- Ministerio de Vivienda — índice estatal de alquiler (calculator: precio alquiler) — official €/m² by census tract / postal code (national)
- Market listings (pilot examples): Idealista / Fotocasa city listing pages — price/m² and neighborhood (respect ToS, rate limits, and legal constraints)
Give Spain a national, spatial view of public spending, business activity, household income, and rent — not a Cantabria-only product with region forks.
Ingest national (and optional regional) open data into one model keyed by province and municipality, then expose it as a 3D map and analytics layer. New regions should mostly mean new geo filters and configs; metric readiness lives in docs/geographic-coverage.md.
Setup, package layout, commands, and coding rules: CONTRIBUTING.md.