presentation_table
Get a formatted presentation table from the OECD database.
Examples
from openbb import obb
# Get quarterly GDP output table for the United States.
obb.oecd.presentation_table(topic='ECO', table='DF_QNA::T0101', country='USA', frequency='Q', limit=4)
Parameters
- standard
topic: str
The OECD topic code. UI navigation aid — not required when table is provided directly.
subtopic: str
The OECD subtopic code (e.g. 'ECO.EO'). UI navigation aid — not required when table is provided directly.
table: str
The OECD presentation table key. Accepts 'DATAFLOW::TABLE_ID' or bare 'DATAFLOW_ID'. See presentation_table_choices() for options.
country: str
Country code to filter the data. Enter multiple codes by joining on '+'. See presentation_table_choices() for options.
counterpart: str
Counterpart area code for bilateral data (e.g. 'W' for World, 'USA'). When omitted, auto-selected (defaults to World aggregate).
frequency: str
The data frequency. See presentation_table_choices() for options. Typical values are 'A' (annual), 'Q' (quarter), 'M' (month).
unit_measure: str
Unit of measure code. E.g. 'XDC' (national currency), 'USD_EXC' (US dollars), 'PS' (persons), 'PT_B1GQ' (% of GDP). When omitted, auto-selected via availability.
adjustment: str
Seasonal adjustment code. 'Y' = seasonally adjusted, 'N' = not adjusted. When omitted, prefers 'Y' where available, falls back to 'N'.
transformation: str
Data transformation code. E.g. 'N' (none), 'GY' (growth year-on-year), 'IX' (index). When omitted, auto-selected via availability.
dimension_values: list[str] | str
Dimension selection for filtering. Format: 'DIM_ID1:VAL1+VAL2.'
start_date: str
Earliest date to include (ISO format, e.g. '2020-01-01'). Filters out obsolete rows that stopped reporting before this date.
end_date: str
Latest date to include (ISO format, e.g. '2025-12-31').
limit: int
Default: 1
Maximum number of records to retrieve per series.