get_migration_trends
Retrieve yearly migration summaries for a county or state, including net returns, net exemptions, net AGI, and inflow/outflow breakdowns across all available year pairs.
Instructions
Retrieve migration summary data across all available year pairs for a county or state. Returns an array of yearly migration summaries sorted by year pair, each including net returns, net exemptions, net AGI, and inflow/outflow breakdowns. AGI values are in thousands of dollars. Source: IRS Statistics of Income.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fips | Yes | FIPS code — 5 digits for county, 2 for state | |
| level | Yes | Geographic level: county or state |