get_employment_trend
Retrieve annual employment trends for any U.S. tract, county, or state. Get jobs, earnings, industry mix, and age breakdowns by workplace or residence, ordered by year.
Instructions
Retrieve employment data across all available years for a single area. Returns an array of yearly metrics (total jobs, industry mix, earnings, age breakdown) ordered ascending by year. Use 'perspective' to choose workplace (default) or residence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geoid | Yes | FIPS code for the area — 11 digits for tract, 5 for county, 2 for state. | |
| area_type | Yes | Geographic level: tract, county, or state. | |
| perspective | No | workplace (jobs located in the area, default) or residence (jobs held by area residents). |