EDA in Power BI
In this section, we will make extensive use of the ggplot2
package, an advanced R library designed for creating plots based on the Grammar of Graphics. It is not our intention to go into detail about every feature exposed by the package, even though it is used quite extensively in the code that accompanies the chapter. Our goal, as always, is to provide code that can be easily adapted for use in other projects and, above all, to provide a starting point for a more detailed look at the functions used. For more details, see the References section in this chapter.
In addition to the tools provided by Tidyverse in R (including ggplot2
), we will also use the summarytools
and DataExplorer
packages to create EDA reports in Power BI. It is therefore necessary to install them:
- Open RStudio and make sure it is pointing to your latest CRAN R (version 4.2.2 in our case).
- Check that the
Rcpp
package is installed in the Packages tab on the bottom-right side...