| imf_ifs | R Documentation |
International Financial Statistics (IFS) was retired when the IMF moved to
the 'SDMX' 3.0 portal. Its content was split across several thematic data
flows (consumer prices, exchange rates, monetary statistics and others) with
no official code crosswalk, which broke every workflow built on the old IFS
series codes. imf_ifs() accepts a legacy IFS indicator code and routes the
request to the correct new data flow and key.
Use imf_ifs_map() to see which legacy series are supported and where each
one now lives. Country coverage in the new data flows varies, especially for
interest rates; if a country returns nothing, try another.
imf_ifs(indicator, country = NULL, freq = NULL, start = NULL, end = NULL)
indicator |
A legacy IFS indicator code, for example |
country |
Character vector of ISO 3-letter country codes, for example
|
freq |
Frequency code ( |
start, end |
Optional first and last year to keep. |
An object of class imf_tbl (a data frame). The originating IFS code
is retained in the imf_ifs_code attribute.
imf_ifs_map(), imf_data()
# UK consumer price index, the series formerly known as IFS PCPI_IX
imf_ifs("PCPI_IX", country = "GBR", start = 2015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.