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
: Union[str, list[str]]
The country to get data. Multiple items allowed for provider(s): econdb.
• Optional: False
country
: Union[str, list[str]]
The country to get data. Multiple items allowed for provider(s): econdb.
• Optional: False
latest
: bool
If True, return only the latest data. If False, return all available data for each indicator.
• Default: True
• Optional: 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.
• Default: True
• Optional: True
Data
- standard
- econdb
country
: str
population
: int
Population.
gdp_usd
: float
Gross Domestic Product, in billions of USD.
gdp_qoq
: float
GDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoy
: float
GDP growth year-over-year change, as a normalized percent.
cpi_yoy
: float
Consumer Price Index year-over-year change, as a normalized percent.
core_yoy
: float
Core Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoy
: float
Retail Sales year-over-year change, as a normalized percent.
industrial_production_yoy
: float
Industrial Production year-over-year change, as a normalized percent.
policy_rate
: float
Short term policy rate, as a normalized percent.
yield_10y
: float
10-year government bond yield, as a normalized percent.
govt_debt_gdp
: float
Government debt as a percent (normalized) of GDP.
current_account_gdp
: float
Current account balance as a percent (normalized) of GDP.
jobless_rate
: float
Unemployment rate, as a normalized percent.
country
: str
population
: int
Population.
gdp_usd
: float
Gross Domestic Product, in billions of USD.
gdp_qoq
: float
GDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoy
: float
GDP growth year-over-year change, as a normalized percent.
cpi_yoy
: float
Consumer Price Index year-over-year change, as a normalized percent.
core_yoy
: float
Core Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoy
: float
Retail Sales year-over-year change, as a normalized percent.
industrial_production_yoy
: float
Industrial Production year-over-year change, as a normalized percent.
policy_rate
: float
Short term policy rate, as a normalized percent.
yield_10y
: float
10-year government bond yield, as a normalized percent.
govt_debt_gdp
: float
Government debt as a percent (normalized) of GDP.
current_account_gdp
: float
Current account balance as a percent (normalized) of GDP.
jobless_rate
: float
Unemployment rate, as a normalized percent.