Take-home_Ex02

Data Preparation

Install and load the packages

pacman::p_load(jsonlite, tidyverse, tidygraph, ggraph, visNetwork, lubridate, igraph, ggplot2, dplyr, magrittr)

Load the dataset in JSON format

mc2_data <- fromJSON("C:/Fay1109/ISSS608-VAA/Take-home_Ex/Take-home_Ex02/data/mc2_challenge_graph.json")

Data Wrangling