IMF_WBGet {psData}R Documentation

Downloads Dreher's data set of IMF programs and World Bank projects (1970-2011)

Description

Downloads Dreher's data set of IMF programs and World Bank projects (1970-2011). It keeps specified variables and creates a standard country ID variable that can be used for merging the data with other data sets.

Usage

IMF_WBGet(url = "http://axel-dreher.de/Dreher%20IMF%20and%20WB.xls",
  sheets = c("WB other agreed", "WB environment agreed"),
  OutCountryID = "iso2c", message = TRUE, standardCountryName = TRUE)

Arguments

url

character string. The URL for the Dreher data set you would like to download. Note: it must be for the xlx version of the file. Currently only the 1970-2011 version is supported.

sheets

character vector of the Excel sheets (variables) that you would like to return. See Details for more information.

OutCountryID

character string. The type of country ID you would like to include in the output file along with the country name. See countrycode for available options.

message

logical. Whether or not to notify you which of sheets are being cleaned and organised.

standardCountryName

logical. Whether or not to standardise the country names variable based on country.name from countrycode.

Details

Using the sheets argument you can select which variables to download from their individual workbook seets in the original data set. These include:

Value

a data frame

Source

Data website: http://www.uni-heidelberg.de/fakultaeten/wiso/awi/professuren/intwipol/datasets_en.html.

When using the IMF data, please cite:

Dreher, Axel, 2006, IMF and Economic Growth: The Effects of Programs, Loans, and Compliance with Conditionality, World Development 34, 5: 769-788.

When using the World Bank data, please cite:

Boockmann, Bernhard and Axel Dreher, 2003, The Contribution of the IMF and the World Bank to Economic Freedom, European Journal of Political Economy 19, 3: 633-649.

Examples

## Not run: 
# Download 'WB other agreed', 'WB environment agreed'
# These are the default sheets to gather
WBPrograms <- IMF_WBGet()

## End(Not run)


[Package psData version 0.2.2 Index]