powered by
A function to extract data from the World Bank API
getWDI(indicator = "SP.POP.TOTL", name = NULL, startDate = 1960, endDate = format(Sys.Date(), "%Y"), printURL = FALSE, outputFormat = "wide")
The World Bank official indicator name.
The new name to be used in the column.
The start date for the data to begin
The end date.
Whether the url link for the data should be printed
The format of the data, can be 'long' or 'wide'.
A data frame containing the desired World Bank Indicator
Please refer to http://data.worldbank.org/node/18 for any difference between the country code system. Further details on World Bank classification and methodology are available at http://data.worldbank.org/.
getFAO, getWDItoSYB, getFAOtoSYB
getFAO
getWDItoSYB
getFAOtoSYB
# NOT RUN { ## pop.df = getWDI() # }
Run the code above in your browser using DataLab