Learn R Programming

imfapi (version 0.1.2)

imf_get_datastructure: Retrieve the datastructure definition for an IMF dataflow.

Description

Retrieve the datastructure definition for an IMF dataflow.

Usage

imf_get_datastructure(
  dataflow_id,
  progress = FALSE,
  max_tries = 10L,
  cache = TRUE,
  include_time = FALSE,
  include_measures = FALSE
)

Value

tibble::tibble( dimension_id = character(), type = character(), position = integer() )

Arguments

dataflow_id

The ID of the dataflow to retrieve the datastructure for.

progress

Logical; whether to show progress.

max_tries

Integer; maximum retry attempts.

cache

Logical; whether to cache the request.

include_time

Logical; whether to include time dimensions.

include_measures

Logical; whether to include measure dimensions.

Examples

Run this code
# \donttest{
if (curl::has_internet()) {
  imf_get_datastructure("PSBS")
}
# }

Run the code above in your browser using DataLab