Skip to main content

unemployment

Get global unemployment data.

Examples

from openbb import obb
obb.economy.unemployment(provider='oecd')
obb.economy.unemployment(country='all', frequency='quarter', provider='oecd')
# Demographics for the statistics are selected with the `age` parameter.
obb.economy.unemployment(country='all', frequency='quarter', age=total, provider='oecd')

Parameters

country: str | list[str]
Default: united_states
The country to get data. Multiple items allowed for provider(s): oecd.

frequency: Literal['monthly', 'quarter', 'annual']
Default: monthly
The frequency of the data.

start_date: date | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | str
End date of the data, in YYYY-MM-DD format.


Returns

results: list[Unemployment]

Serializable results.

provider: Optional[Literal['oecd']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

date: date | str
The date of the data.

country: str
Country for which unemployment rate is given

value: float
Unemployment rate, as a normalized percent.