Data Importation
Let’s begin by importing the data set mentioned in the previous section. We can download
the data set from Glassdoor Gender Pay Gap Dataset and save it locally in CSV format. After
the download is complete, we import this file in R. Additionally, we load the readr, dplyr
and broom packages, which offer functions to import and handle the data set very efficiently
and make our analysis in a simpler way.

# Libraries
library(readr)
library(dplyr)
library(broom)