IRS SOI ZIP-Code Income Intelligence
IRS Statistics of Income individual-tax ZIP-code file, Tax Year 2022 (keyless official CSV, U.S. public domain): the six AGI-bracket rows per ZIP collapsed to one ZIP-grain row (~27,500 ZIPs) with a full income anatomy — returns, AGI, mean AGI per return, salary/wage share, effective federal income-tax rate, itemized-deduction / EIC / elderly shares, bracket-distribution and top-bracket concentration measures. A documented 0-100 affluence_score (45% log mean AGI + 35% $100k+ return share + 20% $200k+ AGI share, min-maxed nationally) is ranked nationally (affluence_rank) and within-state, tiered a1-a4, with top-100, high-concentration (>=50% of AGI from $200k+ filers), and low-income-dominant flags. Per-state identity gates (ZIP sums vs the file's own 00000 aggregate rows within 0.5%) fail loudly. Primary key: zipcode. Cadence: yearly; the upstream file is a static annual vintage, so as_of is the tax year and identical input produces an identical content hash. Caveats: ZIP is the filing address, not necessarily residence; DC counted as a state; territories absent; the filing window includes limited prior-year returns. Sample use: order by affluence_rank for the richest ZIPs, or filter state_code for within-state income geography.
- income
- tax
- inequality
- rankings