requirebin sketch
✓ Published0🌍 Public
HHypercubed
Last edited Sep 21, 2016
Created on Sep 21, 2016
This example demonstrates a data-package loading workflow using the chi-datapackage library within a Vue-based requirebin sketch. It shows how to fetch a datapackage from a GitHub URL, normalize its resources and schemas, and load its data. The code then programmatically adds a new CSV resource containing the values `A,B,C` and `1,2,3`, updating the package state. State changes are logged to the console, illustrating the store’s reactive `onStateChange` and `onError` callbacks. The example highlights the chi-datapackage API’s promise-based pipeline for loading, normalizing, and processing tabular data resources.
AI-generated description