Preparation

Published

March 19, 2024

As part of InfoVis 1 - 2, we will need several R packages. We recommend installing these before the first lesson. Individual packages are typically installed as follows:

install.packages(c("dplyr", "ggplot2", "lubridate", "readr", "scales", "tidyr"))

However, this will re-install packages that you might have already installed. The package pacman helps with this: it checks if the package is already installed before downloading it:

# install packman (this is necessary only once)
install.packages("pacman")
pacman::p_install(
  "dplyr", "ggplot2", "lubridate", "readr", "scales", "tidyr",
  force = FALSE,
  character.only = TRUE
  )

You can download the datasets for the exercises from Moodle: