Skip to content

Instantly share code, notes, and snippets.

Avatar

Benedict Witzenberger munichrocker

View GitHub Profile
View CreateALotOfDWChartsAtOnce.R
library(DatawRappr)
# First create a single chart in Datawrapper, style it and download the metadata:
metadata_chart <- dw_retrieve_chart_metadata(chart_id, api_key)
# drag out the visualize-part and save it to disk:
visualize <- metadata_chart[["content"]][["metadata"]][["visualize"]]
saveRDS(visualize, "visualize.RData")
@munichrocker
munichrocker / scrape_survstat.js
Last active Sep 15, 2020
Scrape RKI's Survstat
View scrape_survstat.js
const puppeteer = require('puppeteer');
const fs = require('fs');
const unzipper = require('unzipper');
const path = "./survstat.zip"
// delete survstat.zip before each run
try {
fs.unlinkSync(path)
} catch(err) {
View keybase.md

Keybase proof

I hereby claim:

  • I am munichrocker on github.
  • I am munichrocker (https://keybase.io/munichrocker) on keybase.
  • I have a public key ASCdv5QWzyXRcJmDiEAjBh8Uzd_A3hXU55Z2RF6g9chn1go

To claim this, I am signing this object: