Skip to main content
100%

Some refactored API live coding

✓ Published0🌍 Public
Ddavidvanr21
Last edited Oct 27, 2020
Created on Oct 27, 2020

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 description

A livecoded example on an API

  • Refactor code
  • Inspect data
  • Get unique values for a certain column
MIT Licensed

Similar vizzes