pacman:: p_load(jsonlite, tidyverse, tidygraph, ggraph)In-class Ex5a
Installing & loading required libraries
The code chunk below installs and launches the tidyverse, ggdist, ggridges, colourspace & ggthemes packages into R environment
Importing the data
The code chunk below imports exam_data.csv into R environment by using read_csv() function of readr package, which is part of the tidyverse package.
mc1_data <- fromJSON("data/mc1.json")mc2_data <- fromJSON("data/mc2.json")mc3_data <- fromJSON("data/mc3.json")