Awesome
The library is maintained by Nael Shiab, computational journalist and senior data producer for CBC News.
You might also find the journalism library and Code Like a Journalist interesting.
To quickly get started with simple-data-analysis, create a folder and run:
# Deno >= 2.x.x
deno -A jsr:@nshiab/setup-sda
# Node.js >= 22.6.x
npx setup-sda
# Bun
bunx --bun setup-sda
If you want to use SDA with Svelte, pass the --svelte
flag. If SDA is already set up in your repository, this command will add Svelte
without overwriting your existing files.
# Deno >= 2.x.x
deno -A jsr:@nshiab/setup-sda --svelte
# Node.js >= 22.6.x
npx setup-sda --svelte
# Bun
bunx --bun setup-sda --svelte
If you want to use SDA with
Framework, pass the --framework
flag. If SDA is already set up in your repository, this command will add
Framework without overwriting your existing files.
# Deno >= 2.x.x
deno -A jsr:@nshiab/setup-sda --framework
# Node.js >= 22.6.x
npx setup-sda --framework
# Bun
bunx --bun setup-sda --framework
To initialize a git repository, pass the --git
flag.