This repository provides materials for a session that is part of the I2DS Tools for Data Science workshop run at the Hertie School, Berlin in November 2021. The student-run workshop is part of the course Introduction to Data Science taught by Simon Munzert at the Hertie School, Berlin, in Fall 2021.
This session will guide you through the basic networks concepts and a few examples of visualization. We will start with a short introduction what networks are and what they are used for. Then we will explore some basic terms, including the concepts of nodes, edges, directed and undirected networks, and edge weights. After that, we will introduce a selection of important functions of both packages ggraph and tidygraph which aim to tidy and visualize network data. In the following interactive part we will take a closer look at one network dataset example and its visualization.
The workshop is intended to give a first rough impression of network theory. Moreover, you will learn what the packages tidygraph and ggraph can be used for, as well as the most important functions to manipulate data and to visualize your networks.
- package information: https://tidygraph.data-imaginist.com/ and https://ggraph.data-imaginist.com/
- functions: https://cran.r-project.org/web/packages/tidygraph/tidygraph.pdf and https://cran.r-project.org/web/packages/ggraph/ggraph.pdf
- network concepts and structure: https://towardsdatascience.com/network-analysis-d734cd7270f8 and https://www.youtube.com/watch?v=89mxOdwPfxA
- data preparation and workflow: https://www.jessesadler.com/post/network-analysis-with-r/
- applications and societal impact: https://www.cs.cornell.edu/home/kleinber/networks-book/ and http://networksciencebook.com/
The material in this repository is made available under the MIT license.
Johanna Mehler prepared the layout of the presentation using the Xaringan package, as well as the explanations of basic network concepts and possible applications.
Ania Matysiak prepared workflow examples of tidygraph and ggraph and their explanations, as well as practical material for the interactive workshop part.