Skip to main content

country_profile

Get a profile of country statistics and economic indicators.

Examples

from openbb import obb
obb.economy.country_profile(provider='econdb', country='united_kingdom')
# Enter the country as the full name, or iso code. If `latest` is False, the complete history for each series is returned.
obb.economy.country_profile(country='united_states,jp', latest=False, provider='econdb')

Parameters

NameTypeDescriptionDefaultOptional
countryUnion[str, List[str]]The country to get data. Multiple items allowed for provider(s): econdb.False

Returns

OBBject
results : List[CountryProfile]
Serializable results.

provider : Optional[Literal['econdb']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
countrystr
populationintPopulation.
gdp_usdfloatGross Domestic Product, in billions of USD.
gdp_qoqfloatGDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoyfloatGDP growth year-over-year change, as a normalized percent.
cpi_yoyfloatConsumer Price Index year-over-year change, as a normalized percent.
core_yoyfloatCore Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoyfloatRetail Sales year-over-year change, as a normalized percent.
industrial_production_yoyfloatIndustrial Production year-over-year change, as a normalized percent.
policy_ratefloatShort term policy rate, as a normalized percent.
yield_10yfloat10-year government bond yield, as a normalized percent.
govt_debt_gdpfloatGovernment debt as a percent (normalized) of GDP.
current_account_gdpfloatCurrent account balance as a percent (normalized) of GDP.
jobless_ratefloatUnemployment rate, as a normalized percent.