compare_state_unemployment
Compare unemployment metrics across up to 10 US states for a chosen period. Specify states via FIPS codes, optionally set year/month and seasonal adjustment, or default to latest available data.
Instructions
Compare LAUS unemployment metrics across up to 10 US states for a single period. Defaults to seasonally adjusted (adjustment='sa'); pass adjustment='nsa' for the NSA series. Params: fips is a comma-separated list of 2-digit state FIPS codes (e.g. '06,48,36' for CA, TX, NY). Maximum 10 states per call. year and month are both optional, but if one is provided the other must be too (omit both to get the latest period the API can resolve). Use month=13 for the annual-average row. Source: US Bureau of Labor Statistics, Local Area Unemployment Statistics (public domain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fips | Yes | ||
| year | No | ||
| month | No | ||
| adjustment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |