Session Ready
Exercise

Explore the dataset

In this first exercise, you will explore the Madrid train bombing dataset. This dataset consists of two parts: the nodes (also called vertices), which refer to people, and the ties (also called edges) which refer to the relationships between these people. You will use the package readr to read the nodes and ties from CSV files into variables in R. For your convenience, the package readr is already loaded into the workspace.

Instructions
100 XP
  • Use the read_csv() function to read the nodes and ties from "nodes.csv" and "ties.csv" respectively.
  • Print nodes and then ties to explore the nodes and ties in the console. How many nodes and ties are in the dataset?