Skip to contents

Read-in IMF data

Usage

downloadIMF()

readIMF(subtype = "current_account", subset = "WEOOct2022all.xls")

convertIMF(x, subtype = "current_account")

Arguments

subtype

Either "current_account" or "GDPpc"

subset

Either "WEOOct2022all.xls" or "WEOallOct2019.xls"

x

MAgPIE object returned by readIMF

Value

The read-in data, usually a magpie object. If supplementary is TRUE a list including the data and metadata is returned instead. The temporal and data dimensionality should match the source data. The spatial dimension should either match the source data or, if the convert argument is set to TRUE, should be on ISO code country level.

Examples

if (FALSE) {
readSource("IMF")
}