Learn R Programming

FAOSTAT (version 1.6)

getWDImetaData: World Bank Indicator Metadata

Description

A function to extract the definition and the meta data from the World Bank API

Usage

getWDImetaData(indicator, printMetaData = FALSE,
    saveMetaData = FALSE, saveName = "worldBankMetaData")

Arguments

indicator
The World Bank official indicator name.
printMetaData
logical, print out the meta data information
saveMetaData
logical, whether meta data should be saved as a local csv file.
saveName
The name of the file for the meta data to save to.

Examples

Run this code
## pop.df = getWDImetaData("SP.POP.TOTL",
##                         printMetaData = TRUE, saveMetaData = TRUE)

Run the code above in your browser using DataLab