demo/demoCodeSearch.R

IFS.available.codes <- DataStructureMethod('IFS') # Get dimension code of IFS dataset
names(IFS.available.codes) # Available dimension code
IFS.available.codes[[1]] # Possible code in the first dimension
CodeSearch(IFS.available.codes, 'CLL', 'GDP') # Error (CLL is not a dimension code of IFS dataset)
CodeSearch(IFS.available.codes, 'CL_INDICATOR_IFS', 'GDP') # Search code contains GDP
CodeSearch(IFS.available.codes, 'CL_INDICATOR_IFS', 'GDPABCDE') # NULL (cannot find GDPABCDE in CL_INDICATOR_IFS dimension)

Try the IMFData package in your browser

Any scripts or data that you put into this service are public.

IMFData documentation built on May 2, 2019, 7:29 a.m.