Skip to content

Instantly share code, notes, and snippets.

View domoritz's full-sized avatar
📊
charting new territory

Dominik Moritz domoritz

📊
charting new territory
View GitHub Profile
@domoritz
domoritz / .block
Last active August 29, 2023 12:24
Vega-Lite Bl.ocks example
license: bsd-3-clause
@domoritz
domoritz / .block
Last active August 14, 2023 18:29
Vega-Lite NPM Downloads
license: bsd-3-clause
@domoritz
domoritz / .block
Last active August 1, 2023 13:43
Vega Bl.ocks example
license: bsd-3-clause
#!/usr/bin/env bash
wget https://transtats.bts.gov/PREZIP/$1 --quiet --no-check-certificate
unzip -q -o $1
rm $1
@domoritz
domoritz / spec.json
Created February 3, 2022 01:56
Vega-Lite spec from Wed Feb 02 2022
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
{"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
{"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
]
},
@domoritz
domoritz / flights-10m.parquet
Last active January 21, 2022 16:24
Flights Parquet
This file has been truncated, but you can view the full file.
@domoritz
domoritz / beer.csv
Last active November 16, 2021 03:26
Beers Parquet Files
name style brewery_id abv ibu
#002 American I.P.A. American IPA 211 0.071 60
#004 Session I.P.A. American IPA 211 0.048 38
#9 Fruit / Vegetable Beer 303 0.051 20
077XX American Double / Imperial IPA 222 0.078 80
113 IPA American IPA 371 0.07 113
12th Round American Strong Ale 376 0.076 78
13 Rebels ESB Extra Special / Strong Bitter (ESB) 433 0.052 42
1327 Pod's ESB Extra Special / Strong Bitter (ESB) 380 0.056 37
14° ESB Extra Special / Strong Bitter (ESB) 75 0.056 32
@domoritz
domoritz / wos.php
Created March 10, 2012 19:32 — forked from pol/wos.php
Web of Science API access with ruby, python and php libs
<?php
$auth_url = "http://search.isiknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl";
$auth_client = @new SoapClient($auth_url);
$auth_response = $auth_client->authenticate();
$search_url = "http://search.isiknowledge.com/esti/wokmws/ws/WokSearchLite?wsdl";
$search_client = @new SoapClient($search_url);
$search_client->__setCookie('SID',$auth_response->return);
$search_array = array(
@domoritz
domoritz / .block
Last active October 5, 2021 12:17
Fast Canvas Shifting
license: bsd-3-clause
@domoritz
domoritz / .block
Last active June 30, 2021 20:13
Histograms
scrolling: true
license: gpl-3.0