Hi,
I would like to use this package to scrap quarterly GDP data for European countries for the period 2000-2016. I basically followed the demo you wrote to introduce the package:
library(IMFData)
availableDB <- DataflowMethod()
availableDB$DatabaseID
availableDB$DatabaseText
IFS.available.codes <- DataStructureMethod("IFS")
names(IFS.available.codes)
IFS.available.codes[[1]]
CodeSearch(IFS.available.codes, "CL_INDICATOR_IFS", "GDP")
databaseID <- "IFS"
startdate = "2000-01-01"
enddate = "2015-12-31"
checkquery = FALSE
queryfilter <- list(CL_FREA = "Q", CL_AREA_IFS = "", CL_INDICATOR_IFS = c("NGDP_EUR",
"NGDP_USD"))
##I do not specify a country. I will just clean it later on, rather than looking up their codes now.
NGDP <- head(CompactDataMethod(databaseID, queryfilter, startdate, enddate, checkquery,
tidy = TRUE))
View(NGDP)
However, the script only gets the first six observations and does not go further. Is it maybe because of the new IMF api? I can't figure out what goes wrong with it.
Thanks for the great work!
Hi,
I would like to use this package to scrap quarterly GDP data for European countries for the period 2000-2016. I basically followed the demo you wrote to introduce the package:
However, the script only gets the first six observations and does not go further. Is it maybe because of the new IMF api? I can't figure out what goes wrong with it.
Thanks for the great work!