IRS SOI ZIP Code Data 2015 (with AGI) - inferred
- Rows
- 166,698
- Columns
- 131
- Data range
- 0 to 99999
ZIP Code data for tax year 2015 with AGI classes. Federal IRS SOI, all states CSV (pattern from available years).
AI analysis
IRS SOI ZIP Code Data 2015 — Analytical Overview
1. Dataset Representation and Research Value
This dataset originates from the IRS Statistics of Income (SOI) division, published at https://www.irs.gov/pub/irs-soi/15zpallagi.csv, representing tax year 2015 federal individual income tax return data aggregated at the ZIP code level with six AGI (Adjusted Gross Income) income brackets (agistub 1–6). With 166,698 rows across 131 columns, each record represents one ZIP code × income class combination, covering approximately 27,683 distinct ZIP codes across all 51 state-level FIPS entities. The dataset is exceptionally rich for socioeconomic research: it encodes not just income aggregates but filing behavior (marital status, dependents, preparer usage), deduction patterns, credits claimed, and tax liability — making it one of the most granular, nationally comprehensive public income datasets available. Because it is a 2015 snapshot from a government statistical agency, it is methodologically consistent and internally validated, though researchers should note the data reflects returns processed for tax year 2015, not necessarily filed in 2015.
2. Data Quality Observations
The data quality profile is remarkably clean for a dataset of this scale. Zero null cells are recorded across all 131 columns and 166,698 rows — an unusually complete dataset that reflects the IRS's structured aggregation methodology rather than raw survey collection. Duplicate row counts are flagged as pending Phase D recomputation, which should be verified before any analysis, since the natural key (zipcode + agistub) should produce exactly one record per combination; any duplicates would signal ingestion errors rather than source ambiguity. No type mismatches are reported. One subtle quality concern worth flagging: zipcode has a minimum value of 0, which is not a valid geographic ZIP code and likely represents suppressed or non-standard aggregations (e.g., foreign filers or state-level rollup rows), and these should be filtered before geographic joins. The A00300 (taxable interest amount) column shows a minimum of -1, which is technically invalid for an amount field and warrants investigation — it may reflect a rounding artifact in IRS aggregation. Several columns including TOTALVITA, VITA, TCE, VITAEIC, and RAL have medians and Q1/Q3 values all equal to zero, indicating these tax assistance and refund anticipation loan fields apply to only a small minority of ZIP-income combinations.
3. Key Column Distributions and Notable Patterns
The financial aggregate columns exhibit extreme right skew throughout, which is expected given the mix of small rural ZIP codes and large metropolitan ones. N1 (total returns filed) has a mean of 1,763 but a median of only 240 (σ=36,889, skew=83), with 18,391 flagged outliers — capturing the dramatic size disparity between ZIP codes. A00100 (total AGI) shows a mean of $122,391 thousand versus a median of only $15,083 thousand (skew=108, 17,376 outliers), powerfully illustrating how high-income ZIP codes dominate aggregate income totals. The capital gains field A01000 is particularly extreme: mean of $6,849K versus a median of $148K with skew=190 and 21,878 outliers, consistent with the known concentration of investment income. A26270 (partnership/S-corp net income) includes negative values (min=-$225,939K) and has 25,908 outliers — the highest outlier count of any field — reflecting pass-through income volatility. The VITA/TCE tax assistance fields are heavily zero-inflated (median=0, Q1=0, Q3=0) with extreme skew (VITAEIC skew=147), meaning these programs are geographically concentrated. mars1 (single filers) and MARS4 (head-of-household filers) both show higher skew (105 and 95.2 respectively) and higher outlier counts than MARS2 (joint filers, skew=63.4), suggesting that single and HoH filing statuses are more unevenly distributed geographically than married filing jointly.
4. Recommended Join Key Columns
The natural composite join key is zipcode + agistub, which together uniquely identify each row. For cross-dataset geographic joins, zipcode alone (filtered to remove zipcode=0) is the primary candidate, but analysts should be aware that ZIP codes are not static geographic units — they can split, merge, or be reassigned over time — so a ZIP-to-ZCTA (ZIP Code Tabulation Area) crosswalk is recommended when joining to Census data. STATEFIPS and STATE enable state-level aggregation joins and are consistent with FIPS standards used across federal datasets. When joining without the agistub dimension, rows must be aggregated across all six income stubs first (summing N-prefixed count columns, summing A-prefixed amount columns) to avoid row multiplication artifacts. For time-series work, the IRS publishes equivalent files for other years (the URL pattern irs.gov/pub/irs-soi/[YY]zpallagi.csv is consistent across years), enabling vintage-year as an additional join dimension.
5. Recommended Pairing Datasets for Correlation Discovery
Several external datasets would pair powerfully with this data. U.S. Census Bureau American Community Survey (ACS) 5-Year Estimates at the ZIP/ZCTA level (specifically table series B19, B25, B15) would enable correlations between IRS-reported income, Census-reported income, housing values, and educational attainment — useful for validating and extending income geography analysis. HUD Fair Market Rents and housing cost data by ZIP could reveal correlations between AGI levels (A00100) and housing affordability. CDC PLACES or County Health Rankings (crosswalked from county to ZIP) would support analysis of income-health correlations, particularly for lower AGI stubs where VITA usage is elevated. SBA small business loan data (7a/504 programs) by ZIP code would correlate with self-employment income fields like A00900 and partnership income A26270. Finally, USDA Rural-Urban Commuting Area (RUCA) codes mapped to ZIP codes would allow stratification of all income and deduction patterns by urbanicity, testing whether the extreme skew in fields like N1 and A00100 is explained primarily by the rural/urban divide. For temporal correlation, pairing with the 2019 or 2020 IRS SOI ZIP file would enable pre/post-pandemic income shift analysis at fine geographic granularity.
Columns
- zipcode (integer)
- agi_stub (integer)
- STATEFIPS (integer)
- STATE (string)
- N1 (decimal)
- mars1 (decimal)
- MARS2 (decimal)
- MARS4 (decimal)
- PREP (decimal)
- N2 (decimal)
- NUMDEP (decimal)
- TOTAL_VITA (decimal)
- VITA (decimal)
- TCE (decimal)
- VITA_EIC (decimal)
- RAL (decimal)
- RAC (decimal)
- ELDERLY (decimal)
- A00100 (decimal)
- N02650 (decimal)
- A02650 (decimal)
- N00200 (decimal)
- A00200 (decimal)
- N00300 (decimal)
- A00300 (decimal)
- N00600 (decimal)
- A00600 (decimal)
- N00650 (decimal)
- A00650 (decimal)
- N00700 (decimal)
- A00700 (decimal)
- N00900 (decimal)
- A00900 (decimal)
- N01000 (decimal)
- A01000 (decimal)
- N01400 (decimal)
- A01400 (decimal)
- N01700 (decimal)
- A01700 (decimal)
- SCHF (decimal)
- N02300 (decimal)
- A02300 (decimal)
- N02500 (decimal)
- A02500 (decimal)
- N26270 (decimal)
- A26270 (decimal)
- N02900 (decimal)
- A02900 (decimal)
- N03220 (decimal)
- A03220 (decimal)
- N03300 (decimal)
- A03300 (decimal)
- N03270 (decimal)
- A03270 (decimal)
- N03150 (decimal)
- A03150 (decimal)
- N03210 (decimal)
- A03210 (decimal)
- N03230 (decimal)
- A03230 (decimal)
- N03240 (decimal)
- A03240 (decimal)
- N04470 (decimal)
- A04470 (decimal)
- A00101 (decimal)
- N18425 (decimal)
- A18425 (decimal)
- N18450 (decimal)
- A18450 (decimal)
- N18500 (decimal)
- A18500 (decimal)
- N18300 (decimal)
- A18300 (decimal)
- N19300 (decimal)
- A19300 (decimal)
- N19700 (decimal)
- A19700 (decimal)
- N04800 (decimal)
- A04800 (decimal)
- N05800 (decimal)
- A05800 (decimal)
- N09600 (decimal)
- A09600 (decimal)
- N05780 (decimal)
- A05780 (decimal)
- N07100 (decimal)
- A07100 (decimal)
- N07300 (decimal)
- A07300 (decimal)
- N07180 (decimal)
- A07180 (decimal)
- N07230 (decimal)
- A07230 (decimal)
- N07240 (decimal)
- A07240 (decimal)
- N07220 (decimal)
- A07220 (decimal)
- N07260 (decimal)
- A07260 (decimal)
- N09400 (decimal)
- A09400 (decimal)
- N85770 (decimal)
- A85770 (decimal)
- N85775 (decimal)
- A85775 (decimal)
- N09750 (decimal)
- A09750 (decimal)
- N10600 (decimal)
- A10600 (decimal)
- N59660 (decimal)
- A59660 (decimal)
- N59720 (decimal)
- A59720 (decimal)
- N11070 (decimal)
- A11070 (decimal)
- N10960 (decimal)
- A10960 (decimal)
- N11560 (decimal)
- A11560 (decimal)
- N06500 (decimal)
- A06500 (decimal)
- N10300 (decimal)
- A10300 (decimal)
- N85530 (decimal)
- A85530 (decimal)
- N85300 (decimal)
- A85300 (decimal)
- N11901 (decimal)
- A11901 (decimal)
- N11902 (decimal)
- A11902 (decimal)