nominal
Get Nominal GDP Data.
Examples
from openbb import obb
obb.economy.gdp.nominal(provider='oecd')
obb.economy.gdp.nominal(units=capita, country=all, frequency=annual, provider='oecd')
Parameters
- standard
- econdb
- oecd
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | The country to get data.Use 'all' to get data for all available countries. Multiple items allowed for provider(s): econdb. | united_states | True |
use_cache | bool | If True, the request will be cached for one day. Using cache is recommended to avoid needlessly requesting the same data. | True | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | The country to get data. Use 'all' to get data for all available countries. Multiple items allowed for provider(s): oecd. | united_states | True |
frequency | Literal['quarter', 'annual'] | Frequency of the data. | quarter | True |
units | Literal['level', 'index', 'capita'] | The unit of measurement for the data.Both 'level' and 'capita' (per) are measured in USD. | level | True |
price_base | Literal['current_prices', 'volume'] | Price base for the data, volume is chain linked volume. | current_prices | True |
Returns
OBBject
results : List[GdpNominal]
Serializable results.
provider : Optional[Literal['econdb', 'oecd']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- econdb
- oecd
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | GDP value for the country and date. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | Nominal GDP value for the country and date. |
nominal_growth_qoq | float | Nominal GDP growth rate quarter over quarter. |
nominal_growth_yoy | float | Nominal GDP growth rate year over year. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | GDP value for the country and date. |