This repository includes the data and necessary code to support EIG's analysis, The Great “Transfer”-mation. You can find the interactive webpage here and the full draft here.
All links are current at the time of publication.
Contact Benjamin Glasner with any questions at benjamin@eig.org.
The Bureau of Economic Analysis’s (BEA) regional economic account files are the primary source of data for this report. These files cover a range of local socioeconomic data topics including local Gross Domestic Product, Personal Income, and Personal Consumption Expenditures for a range of locality sizes. We use two files for our county-level and national-level analysis:
- CAINC4 - “Personal income and employment by major component by county.” This file provides information related to the components of income and population at the county, state, and national levels for 1969-2022. This file combines all transfer programs, so an additional source file is required.
- CAINC35 - “Personal current transfer receipts.” This file provides a breakdown of transfer receipts from government and non-government sources at the county, state, and national levels for 1969-2022.
County metropolitan classifications are derived from the NCHS’ Rural-Urban Continuum Codes for 2023. The categories used in this report are simplified from the NCHS’s scheme according to the method outlined in the “GEOGRAPHY AND TIME VARS” section below.
Supplementary data for the old-age population, defined as individuals 65 years of age and older, comes from the Census Bureau’s County Intercensal Tables Program. These tables provide annual county population estimates by age, sex, and race. Files are published separately by year. We rely on the following files: 1970-1979, 1980-1989, 1990-1999, 2000-2009, 2010-2019, and 2020-2022.
Poverty rates come from the Census Bureau Small Area Income and Poverty Estimates program, and are available at the decade marks.
We perform the analysis using both national and county-level data. The “County FIPS Code” is only available for the county-level data file.
“County FIPS Code”: FIPS code. Note: Connecticut’s 2022 boundary changes are not reflected by the Bureau of Economic Analysis, and 2022 values for Connecticut reflect the historical codes.
“County, State”: Name of the county in {County}, {State} format where {State} is the two-letter abbreviation.
“year”: Year
“Metro status”: Either large metro (population 1 million +; NCHS RUCC code = 1), medium metro (population 250k-1 million; NCHS RUCC code = 2), small metro (<250K; NCHS RUCC code = 3), or non-metro (NCHS RUCC codes 4 through 9). Codes 4-9 cover counties with few people living in urban areas, including counties both adjacent and not adjacent to metro areas. See the NCHS website linked above for further information.
“population”: Total population ( BEA CAINC4, line code 20)
“old age share”: Share of the geographic area’s population over 65, estimated from the Census Bureau’s County Intercensal Tables Program.
“total income from all sources (2022 USD)”: total personal income (BEA CAINC4, line code 10). This includes:
- Wages and salaries from all industries (CAINC4 line code 50)
- Supplements to wages and salaries, covering employer payments made on behalf of employees such as employee pension and insurance funds as well as employer contributions for government social insurance. (CAINC4 line code 60)
- Proprietors’ income for both farm and non-farm sole proprietorships, partnerships, and tax-exempt cooperatives. Excludes dividends, money interest from non-financial businesses, and rental income received by individuals not engaged in real estate (CAINC4 line code 70)
- Rental income, dividends, interests, and rents (CAINC4 line code 46)
- Transfer receipts from the government, non-for-profits, and businesses. (CAINC4 line code 47)
“per capita total income from all sources (2022 USD)”: total personal income (BEA CAINC4, line code 10) divided by geographic area population (BEA CAINC4, line code 20)
“government transfers (2022 USD)”: CAINC35 line code 1000. This includes:
- Retirement and disability insurance benefits (CAINC35 line code 2000), which includes both Social Security (CAINC35 line code 2110), as well as old-age disability insurance.
- Medical benefits (CAINC35 line code 2200), which includes Medicare (line code 22210), Medicaid (line code 2220), and military medical insurance benefits (line code 2230)
- Income maintenance benefits (CAINC35 line code 2300), which includes Supplemental Security Income (line code 2310), Earned Income Tax Credit (EITC) (line code 2320), SUpplemental Nutrition Assistance Program (SNAP) (line code 2330), and other temporary programs, such as some COVID relief programs.
- Unemployment insurance compensation (CAINC35 line code 2400), including state unemployment insurance compensation (2410) and most temporary pandemic relief programs.
- Veterans’ benefits (CAINC35 line code 2500), including pension and disability.
- Education and training assistance (CAINC35 line code 2600)
- Other uncategorized (CAINC35 line code 2700)
“per capita government transfers (2022 USD)”: total government transfers (CAINC35 line code 1000) divided by geographic area population (BEA CAINC4, line code 20)
“total income excluding government transfers (2022 USD)”: all categories of total income apart from government transfers. This includes:
- Wages and salaries from all industries (CAINC4 line code 50)
- Supplements to wages and salaries, covering employer payments made on behalf of employees such as employee pension and insurance funds as well as employer contributions for government social insurance. (CAINC4 line code 60)
- Proprietors’ income for both farm and non-farm sole proprietorships, partnerships, and tax-exempt cooperatives. Excludes dividends, money interest from non-financial businesses, and rental income received by individuals not engaged in real estate (CAINC4 line code 70)
- Rental income, dividends, interests, and rents (CAINC4 line code 46)
- non-for-profits, and businesses. (CAINC4 line code 47 less of CAINC35 line code 1000)
“per capita total income excluding government transfers (2022 USD)”: this is all non-transfer income as enumerated above divided by geographic area population (BEA CAINC4, line code 20)
“government transfer share of total income”: this “government transfers (2022 USD)” / “total income from all sources (2022 USD)”. Reported as a percentage.
For simplicity, we do not report all sub-categories. Please see the BEA’s published files (linked above), or our expanded dataset available in the \data\ folder.
“social security transfers (2022 USD)”: all social security transfers, excluding disability insurance benefits. (CAINC35 line code 2110)
“medicare transfers (2022 USD)”: (CAINC35 line code 2110)
“medicaid transfers (2022 USD)”: (CAINC35 line code 2220)
“income maintenance (2022 USD)”: (CAINC35 line code 2300)
“other transfers (2022 USD)””: (CAINC35 line code 1000) less of CAINC35 line codes 2110, 2110, 2220, 2300.
We follow the BEA’s transfer income categorizations throughout this report, which covers all "receipts of persons from government and business for which no current services are performed. Current transfer receipts from government include Social Security benefits, medical benefits, veterans' benefits, and unemployment insurance benefits. Current transfer receipts from business include liability payments for personal injury and corporate gifts to nonprofit institutions."
To view the detailed BEA discussion on concepts and methods to identity the categorization and inclusion of specific programs, please see the Bureau of Economic Analysis State Personal Income and Employment: Concepts and Methods document, page 59 under the section Current Transfer Receipts of Individuals from Governments.
- code
- Dataset Wrangling
- 1 wrangle_old_age.R: constructs county-level and nation-level population share 65+
- 2 wrangle_county.R: constructs the main county level dataset for the report
- 3 wrangle_nation.R: constructs the main nation level dataset for the report
- 4 wrangle_poverty.R: constructs a decade marked poverty estimate dataset
- Report Figures: contains files constructing the report figures of the same name.
- fig 1 - per capita transfers, non transfer income, transfer share.R
- fig 2 - transfer income by selected category.
- fig 3 - per capita income from selected transfer programs.R
- fig 4 - share of transfer income from key safety net programs.R
- fig 5 - distribution of transfer incomes and non transfer incomes.R
- fig 6 - proportion of us counties by transfer share of total personal income.R
- fig 7 - counties by transfer tier quad map.R
- fig 8 - government transfers as a share of total income.R
- fig 9 - share of counties in each transfer tier by metro status.R
- fig 10 - per capita transfers versus selected socioeconomic indicators.R
- fig 11 - trends in government transfers and non transfer income for selected aging counties.R
- fig 12 - real growth in per capita earnings.R
- fig 13- 14 - non transfer income and government transfers per capital muncie and johnstown.R
- Regressions: code underlying the regressions and random forest components.
- Change from 1970 to 2022.R
- Update Decomposition by decade.R
- Update Effect of Recessions.R
- Update Medicaid Expansion.R
- data
- county 2022 dataset.csv.zip: a cleaned dataset with key variables for all counties, 2022
- county.historical.dataset.csv.zip:a cleaned dataset with key variables for all counties, 1970-2022
- nationwide dataset.csv.zip: a cleaned dataset with key variables for the nation overall, 1970-2022
- raw
- ZIP-toPlanningRegion.xlsx: zip codes to planning regions for CT
- ct_planning_regions.xlsx: a list of CT planning regions
- fips_crosswalk.xlsx: VA fips crosswalk file for maping purposes
- bea
- BEA_deflator.xlsx: BEA data used to make inflation adjustments
- CAINC35__ALL_AREAS_1969_2022.csv.zip: BEA CAINC35 file, for all geographic areas only.
- CAINC4__ALL_AREAS_1969_2022.csv.zip: BEA CAINC4, for all geographic areas only.
- nchs: contains the NCHS urban-rural codes for 2023
- population estimates: contains all raw data files for annual population estiamtes. Note: due to Github file size restrictions, the 2011-2019 file is not uploaded. instructions on how to find this file are in "1 wrangle_old_age.R"
- poverty estimates: contains a ziped file of all census poverty estimates by county and decade.