Convert Messy Spreadsheet of Berlin Street Names to GeoJSON
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 13, 2018
Created on Mar 13, 2018
This visualization converts a messy CSV file of Berlin street names into a GeoJSON FeatureCollection. The XQuery script uses `csv:parse` and `map:merge` to clean the data, expanding abbreviations like "dr" to "doctor" and normalizing gender fields. It then calls the Mapbox Geocoding API via `http:send-request` to retrieve geometry for each street address, bounded to Berlin’s coordinates. The resulting features are assembled with `array` and output as JSON, ready for mapping.
AI-generated description