get_state_unemployment
Retrieve monthly unemployment and labor force statistics for a single US state using its FIPS code. Choose seasonal adjustment, date ranges, or annual averages from BLS data.
Instructions
Get monthly LAUS unemployment data for a single US state. Defaults to seasonally adjusted (adjustment='sa'); pass adjustment='nsa' for the not-seasonally-adjusted series. Without dates, returns the latest available observation. Provide both from_date and to_date (YYYY-MM) for a time series. Set annual_only=True to return only annual averages (M13 rows). Params: fips is a 2-digit state FIPS code (e.g. '06' for California, '48' for Texas). State observations include labor force participation rate and employment-population ratio. For comparing multiple states in a single period, use compare_state_unemployment instead. Source: US Bureau of Labor Statistics, Local Area Unemployment Statistics (public domain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fips | Yes | ||
| to_date | No | ||
| from_date | No | ||
| adjustment | No | ||
| annual_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |