Graphs and networks are a prevalent data structure within many domains of data science. Efficient classes and algorithms for network analysis has been available in R for a long time with e.g. the igraph and network packages that also provides the means to plot standard node-edge diagrams. Unfortunately, due to the nature of network data, the advances in data analysis and visualisation workflows that ggplot2 and dplyr (among others) has brought to R, has not been directly applicable to graph and network data. In this talk I’ll present the tidygraph and ggraph packages that has been developed with the aim of bringing graph and network data into the Tidyverse. The talk will cover the design philosophy of the two packages and include lots of examples showing how classic network analysis tasks can be solved with the help of tidygraph and ggraph.

View Slides

Subscribe to more inspiring open-source data science content.

We love to celebrate and help people do great data science. By subscribing, you'll get alerted whenever we publish something new.