Country Profile
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
CountryProfile | CountryProfileQueryParams | CountryProfileData |
Import Statement
from openbb_core.provider.standard_models.country_profile import (
CountryProfileData,
CountryProfileQueryParams,
)
Parameters
- standard
- econdb
country: str | list[str]
The country to get data. Multiple items allowed for provider(s): econdb.
country: str | list[str]
The country to get data. Multiple items allowed for provider(s): econdb.
latest: bool | None
Default: True
If True, return only the latest data. If False, return all available data for each indicator.
use_cache: bool | None
Default: True
If True, the request will be cached for one day.Using cache is recommended to avoid needlessly requesting the same data.
Data
- standard
- econdb
country: str
population: int | None
Population.
gdp_usd: float | None
Gross Domestic Product, in billions of USD.
gdp_qoq: float | None
GDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoy: float | None
GDP growth year-over-year change, as a normalized percent.
cpi_yoy: float | None
Consumer Price Index year-over-year change, as a normalized percent.
core_yoy: float | None
Core Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoy: float | None
Retail Sales year-over-year change, as a normalized percent.
industrial_production_yoy: float | None
Industrial Production year-over-year change, as a normalized percent.
policy_rate: float | None
Short term policy rate, as a normalized percent.
yield_10y: float | None
10-year government bond yield, as a normalized percent.
govt_debt_gdp: float | None
Government debt as a percent (normalized) of GDP.
current_account_gdp: float | None
Current account balance as a percent (normalized) of GDP.
jobless_rate: float | None
Unemployment rate, as a normalized percent.
country: str
population: int | None
Population.
gdp_usd: float | None
Gross Domestic Product, in billions of USD.
gdp_qoq: float | None
GDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoy: float | None
GDP growth year-over-year change, as a normalized percent.
cpi_yoy: float | None
Consumer Price Index year-over-year change, as a normalized percent.
core_yoy: float | None
Core Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoy: float | None
Retail Sales year-over-year change, as a normalized percent.
industrial_production_yoy: float | None
Industrial Production year-over-year change, as a normalized percent.
policy_rate: float | None
Short term policy rate, as a normalized percent.
yield_10y: float | None
10-year government bond yield, as a normalized percent.
govt_debt_gdp: float | None
Government debt as a percent (normalized) of GDP.
current_account_gdp: float | None
Current account balance as a percent (normalized) of GDP.
jobless_rate: float | None
Unemployment rate, as a normalized percent.