🌍 Public
Viewing a saved revision (read-only)
ada0fed2c86a45cbbac8f7865a158721
Some refactored API live coding
This example demonstrates a live-coding workflow for inspecting and cleaning data fetched from the Dutch RDW open-data API (`https://opendata.rdw.nl/resource/t5pc-eb34.json`). It fetches the raw JSON using the `fetch` API within an `async` function, then maps results down to a single selected column (`areaid`). With the filtered array, the code logs all data, a single record, and the cleaned column values, then uses a `Set` to list unique entries and filters for values containing "WEST". The visualization is limited to console output, with no graphical rendering.
AI-generated descriptionA livecoded example on an API
- Refactor code
- Inspect data
- Get unique values for a certain column