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
- standard
- oecd
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.
country: str
Default: united_states
The country to get data.
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.
sex: Literal['total', 'male', 'female']
Default: total
Sex to get unemployment for.
age: Literal['total', '15-24', '25+']
Default: total
Age group to get unemployment for. Total indicates 15 years or over
seasonal_adjustment: bool
Default: False
Whether to get seasonally adjusted unemployment. Defaults to False.
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
- standard
- oecd
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.
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.