Skip to content

Instantly share code, notes, and snippets.


Lisi Linhart lisilinhart

View GitHub Profile
lisilinhart / transform-data.js
Created September 3, 2022 13:15
Transform JSON data for Storyblok
View transform-data.js
const fs = require('fs')
const StoryblokClient = require('storyblok-js-client')
const { v4 } = require('uuid')
const Storyblok = new StoryblokClient({
oauthToken: 'YOUR_PERSONAL_ACCESS_TOKEN' // can be found in your My account section
const config = {
jsonFile: './speaking.json',

The Red Panda

The red panda is dwarfed by the black-and-white giant that shares its name. These pandas typically grow to the size of a house cat, though their big, bushy tails add an additional 18 inches. The pandas use their ringed tails as wraparound blankets in the chilly mountain heights.


The red panda (Ailurus fulgens) is a mammal species native to the eastern Himalayas and southwestern China. It is listed as Endangered on the IUCN Red List because the wild population is estimated at fewer than 10,000 mature individuals and continues to decline due to habitat loss and fragmentation, poaching, and inbreeding depression. Despite its name, it is not closely related to the giant panda.

The red panda has reddish-brown fur, a long, shaggy tail, and a waddling gait due to its shorter front legs; it is roughly the size of a domestic cat, though with a longer body, and is somewhat heavier. It is arboreal and feeds mainly on bamboo, but also eats eggs, birds, and insects. It is a solitary animal, m

View population.csv
Series Name,Series Code,Country Name,Country Code,2016 [YR2016]
"Population, total",SP.POP.TOTL,Afghanistan,AFG,34656032
"Population, total",SP.POP.TOTL,Albania,ALB,2876101
"Population, total",SP.POP.TOTL,Algeria,DZA,40606052
"Population, total",SP.POP.TOTL,American Samoa,ASM,55599
"Population, total",SP.POP.TOTL,Andorra,AND,77281
"Population, total",SP.POP.TOTL,Angola,AGO,28813463
"Population, total",SP.POP.TOTL,Antigua and Barbuda,ATG,100963
"Population, total",SP.POP.TOTL,Argentina,ARG,43847430
"Population, total",SP.POP.TOTL,Armenia,ARM,2924816
View stack_network_links.csv
View suicide_germany.csv
Freq sex method age method2
1 4 male poison 10 10-20 poison
2 0 male cookgas 10 10-20 gas
3 0 male toxicgas 10 10-20 gas
4 247 male hang 10 10-20 hang
5 1 male drown 10 10-20 drown
6 17 male gun 10 10-20 gun
7 1 male knife 10 10-20 knife
8 6 male jump 10 10-20 jump
9 0 male other 10 10-20 other
lisilinhart / gatsby-config.js
Last active May 16, 2018 19:32
Gatsby Config
View gatsby-config.js
module.exports = {
siteMetadata: {
title: "Lisi Linhart",
description: "Lisi Linharts Portfolio & Blog",
author: "Lisi Linhart",
siteUrl: ""
plugins: [
resolve: `gatsby-source-filesystem`,
View animation.json