Fetch GDP data from WEO
aux_gdp_weo.Rd
Create a dataset with GDP data from World Economic Outlook.
Usage
aux_gdp_weo(
action = "update",
force = FALSE,
maindir = getOption("pipaux.working_dir")
)
Details
Note that the most recent version most be downloaded from imf.org and saved
as an .xls file in <maindir>/_aux/weo/
. The filename should be in the
following structure WEO_<YYYY-DD-MM>.xls
. Due to potential file corruption
the file must be opened and re-saved before it can be updated with
aux_gdp_weo()
. Hopefully in the future IMF will stop using an .xls
file
that's not really xls.