What is dplyr
? Well, dplyr
can be perceived as a grammar of data manipulation. It has been created for the R community by Hadley Wickham, Romain Francois, and RStudio.
What does dplyr
give the Tableau user? We will use dplyr
in order to cleanse, summarize, group, chain, filter, and visualize our data in Tableau.
Firstly, let's import the packages that we need. These packages are listed in the following table, followed by the code itself.
Packages required for the hands-on exercise:
Package Name |
Description |
Reference |
---|---|---|
|
Search, extract, and format data from the World Bank's World Development Indicators | |
|
|
As we walk through the script, the first thing we need to do is install the packages.
Once you have installed the packages, we need to call each library.
Once we have called the libraries, then we need to obtain the data from the...