Publications by schochastics

Raspberry Pi E-Paper Dashboard with R

15.10.2020

For once, this is not a post on an R package for network analysis or random R code. This post is about a DIY adventure of mine with a little R code on the side. I have always been intrigued by the Raspberry Pi, but never really engaged with it since I lack the practical skills (like soldering) for most projects you can find on the internet. Until...

5465 sym R (1933 sym/13 pcs) 6 img

Non-hierarchical edge bundling, flow maps and metro maps in R

14.01.2021

This post introduces the R package edgebundle, an R package that implements several edge bundling/flow and metro map algorithms. The package includes the following algorithms: Force directed edge bundling edge_bundle_force() (paper) Stub bundling edge_bundle_stub() (paper) Hammer bundling edge_bundle_hammer()(python code) TNSS flow map tnss_tre...

3216 sym R (5220 sym/7 pcs) 18 img

Animating Network Evolutions with gganimate

14.09.2021

People regularly ask me if it is possible to animate a network evolution with {{ggraph}} and {{gganimate}}. Unfortunately this is not yet possible. But fear not! There is a way to still get it done with some hacking around the ggraph package. In this post, I will walk through this hack but hope that it will eventually become obsolete. library(ggr...

3162 sym R (6795 sym/10 pcs) 4 img

Smooth flow maps and a new edge bundling algorithm

31.10.2021

This post introduces new features of edgebundle, an R package that implements several edge bundling/flow and metro map algorithms. In this post, I will introduce edge-path bundling (paper) and smooth flow maps. Given that edge bundling is mostly used on maps, I will also give a brief example on how to convert the output of any edge bundling func...

2939 sym R (4523 sym/8 pcs) 12 img

Sketchy, Hand-drawn-like Maps in R

07.12.2021

This post introduces the R package rougsf, which wraps the java script library rough.js to draw sketchy, hand-drawn-like maps. The package was born out of the 30DayMapChallenge which I participated in this year. #install.packages("remotes") remotes::install_github("schochastics/roughsf") Usage roughsf() takes a list of sf objects as input. The ...

1840 sym R (1185 sym/2 pcs) 10 img