gdp_real
Get Real GDP data from the OECD.
Examples
from openbb import obb
obb.oecd.gdp_real(provider='oecd')
obb.oecd.gdp_real(country='united_states,germany', provider='oecd')
Parameters
- standard
- oecd
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
country: str | None | list[str | None]
Default: united_states
The country to get data. Use 'all' to get data for all available countries. Multiple items allowed.
Choices
- argentina
- australia
- austria
- belgium
- brazil
- bulgaria
- canada
- chile
- china
- colombia
- costa_rica
- croatia
- czechia
- denmark
- estonia
- eu15
- eu27
- euro_area_20_countries
- finland
- france
- g20
- g7
- germany
- greece
- hungary
- iceland
- india
- indonesia
- ireland
- israel
- italy
- japan
- korea
- latvia
- lithuania
- luxembourg
- mexico
- netherlands
- new_zealand
- norway
- oecd
- oecd_26_countries
- oecd_europe
- poland
- portugal
- romania
- russia
- saudi_arabia
- slovak_republic
- slovenia
- south_africa
- spain
- sweden
- switzerland
- turkiye
- united_kingdom
- united_states
- usmca
- all
frequency: str | None
Default: quarter
Frequency of the data.
Choices
- quarter
- annual
Returns
results: OecdGdpReal
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- oecd
date: date | str
The date of the data.
country: str | None
The country represented by the Real GDP value.
value: float | int
Real GDP value for the country and date.
date: date | str
The date of the data.
country: str | None
The country represented by the Real GDP value.
value: float | int
Real GDP value for the country and date.