GDP

Using R to Access and Analyze World Bank Data by Duane Edwards

One benefit of using R over many statistical software is its ability to access the World Bank database by means of the API and to analyse the data therein without the need to download the data onto your local computer.

To carry out this analysis in R, however, it is necessary to have the requisite package installed. The package used in R is the WDI package. After installing this package, we must explicitly call this package using the library function.

> library(WDI)