Skip to contents

Retrieves and returns all available dataflow definitions from the SDMX dataflow endpoint.

Usage

imf_get_dataflows(progress = FALSE, max_tries = 10L, cache = TRUE)

Arguments

progress

Logical; whether to show progress.

max_tries

Integer; maximum retry attempts.

cache

Logical; whether to cache the request.

Value

tibble::tibble( id = character(), # e.g., "MFS_IR", "SPE", etc. name = character(), # English name description = character(), # English description version = character(), # e.g., "8.0.1" structure = character(), # DSD reference last_updated = character() # from annotations )

Examples

if (curl::has_internet()) {
  imf_get_dataflows()
}
#> # A tibble: 71 × 6
#>    id                  name              description version agency last_updated
#>    <chr>               <chr>             <chr>       <chr>   <chr>  <chr>       
#>  1 HPD                 Historical Publi… "The Histo… 1.0.0   IMF.F… 2025-03-28T…
#>  2 IIP                 International In… "The Inter… 13.0.0  IMF.S… 2025-06-03T…
#>  3 DIP                 Direct Investmen… "\t The Di… 12.0.0  IMF.S… 2025-03-28T…
#>  4 CTOT                Commodity Terms … "CTOT is a… 5.0.0   IMF.R… 2025-06-09T…
#>  5 AFRREO              Sub-Saharan Afri… "Sub-Sahar… 6.0.1   IMF.A… 2025-03-27T…
#>  6 ISORA_2018_DATA_PUB ISORA 2018 Data   "ISORA dat… 2.0.0   ISORA  2025-06-19T…
#>  7 FA                  Fund Accounts (F… "The Fund … 8.0.0   IMF.S… 2025-03-28T…
#>  8 PI                  Production Index… "The Produ… 2.0.0   IMF.S… 2025-03-28T…
#>  9 PIP                 Portfolio Invest… "The Portf… 4.0.0   IMF.S… 2025-03-28T…
#> 10 MFS_ODC             Monetary and Fin… "The Monet… 9.0.1   IMF.S… 2025-08-12T…
#> # ℹ 61 more rows