@nshiab/simple-data-analysis-core
v0.0.20
Published
The core functionalities of the simple-data-analysis library, with only one dependency: DuckDB.
Downloads
665
Readme
Simple data analysis core (SDA-core)
This repository contains the core functionalities of the simple-data-analysis library, an easy-to-use and high-performance TypeScript library for data analysis that you can use with tabular, geospatial and vector data.
You'll find here a stripped-out version with only one dependency (DuckDB) that is aimed to be light-weight and to be used in constrained environment.
The library is available on JSR with its documentation.
The documentation is also available as the markdown file llm.md, which can be passed as context to improve the use of the library by AI coding assistants or agents.
The library is maintained by Nael Shiab, computational journalist and senior data producer for CBC News.
For the full-fledged library (with AI, dataviz, google sheet methods and more), check the simple-data-analysis repository.
[!TIP] To learn how to use SDA, check out Code Like a Journalist, a free and open-source data analysis and data visualization course in TypeScript.
Installation
The library is available on JSR and NPM.
# Deno
deno add jsr:@nshiab/simple-data-analysis-core
# Node.js
npm i @nshiab/simple-data-analysis-core
# Bun
bun add @nshiab/simple-data-analysis-coreQuick setup
To quickly set up a data project with essential folders, configurations, and documentation for AI agents, you can use @nshiab/setup-data-project.
# Deno
deno run -A jsr:@nshiab/setup-data-project
# Node
npx @nshiab/setup-data-project
# Bun
bunx @nshiab/setup-data-project