get_employment
Retrieve employment data for a geographic area: total jobs, industry mix, earnings, and age breakdown. Choose workplace or residence perspective.
Instructions
Retrieve employment data for a single geographic area. Returns total jobs, industry mix by NAICS sector, earnings distribution, and age breakdown. The 'perspective' parameter controls whether data reflects jobs physically located in the area (workplace, WAC data — default) or jobs held by the area's residents regardless of where they work (residence, RAC data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Data year. Omit to use the most recent available year. | |
| 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). |