presentation_table
Get a formatted presentation table from the IMF database. Returns as HTML or JSON list.
Examples
from openbb import obb
# Get the most recent Balance of Payments table for Japan.
obb.imf_utils.presentation_table(dataflow_group='bop', table='bop_standard', country='JPN', frequency='Q', limit=4)
Parameters
- standard
dataflow_group: str | None
The IMF dataflow group. See presentation_table_choices() for options.
table: str | None
The IMF presentation table ID. See presentation_table_choices() for options.
country: str | None
Country code to filter the data. Enter multiple codes by joining on '+'. See presentation_table_choices() for options. Typical values are ISO3 country codes.
frequency: str | None
The data frequency. See presentation_table_choices() for options. Typical values are 'A' (annual), 'Q' (quarter), 'M' (month), or 'D' (day).
dimension_values: list[str] | str | None
Dimension selection for filtering. Format: 'DIM_ID1:VAL1+VAL2.' See presentation_table_choices() and list_dataflow_choices() for available dimensions and values.
limit: int
Default: 1
Maximum number of records to retrieve per series.
raw: bool
Default: False
Return presentation table as raw JSON data if True.