USStates: US State Data

USStatesR Documentation

US State Data

Description

Various data for all 50 US States.

Format

A data frame with 50 observations on the following 22 variables.

State

State name

HouseholdIncome

Median household income (in $1,000's)

Region

MW=Midwest, NE=Northeast, S=South, W=West

Population

Number of residents (in millions for 2023)

EighthGradeMath

Average score NAEP mathematics for 8th-grade students (2024)

HighSchool

% of residents (ages 25-34) who are high school graduates

College

% of residents (ages 25-34) who are college graduates

IQ

Estimated mean IQ score of residents

GSP

Gross state product (in $1,000's per capita)

Vegetables

% of residents eating vegetables at least once per day

Fruit

% of residents eating fruit at least once per day

Smokers

% of residents who smoke

PhysicalActivity

% who do 150+ minutes of aerobic physical activity per week

Obese

% obese residents (BMI 30+)

NonWhite

% nonwhite or Hispanic residents

HeavyDrinkers

% heavy drinkers ( men: 14+ drinks/week, women 7+ drinks/week)

Electoral

Number of state votes in the presidential electoral college

BidenVote

Proportion of votes for Democrat Joe Biden in 2020 presidential election

Elect2020

State winner in 2020 presidential election (D=Biden, R=Trump, DR=Split)

TwoParents

% of children living in two-parent households

StudentSpending

School spending (in $1,000 per pupil)

Insured

% of adults (ages 19-64) who have any kind of health coverage

Poverty

% of families with income below the poverty line

Details

Information from each of the 50 states of the United States. Years vary from 2021 to 2024 depending on data availability.
** Updated for 4e (earlier versions are now USStates3e, USStates2e, and USStates1e) **

Source

U.S. Census Bureau, American Community Survey https://data.census.gov/all?q=ACS.
Table DP03 - HouseholdIncome, Insured, Poverty
Table B01003 - Population
Table C23008 - TwoParents
Table S1501 - HighSchool, College

World Population Review https://worldpopulationreview.com for IQ, Smokers, and GSP.

2020 Election results https://www.fec.gov/resources/cms-content/documents/federalelections2020.pdf for Electoral, BidenVote, and Elect2020.

National Assessment of Educational Progress (NAEP) https://www.nationsreportcard.gov/profiles/stateprofile?sfj=NP&chort=2&sub=MAT&sj=&st=MN&year=2024R3 for EighthGradeMath.

National Center for EducationStatistics (NCES) https://nces.ed.gov/programs/digest/d23/tables/dt23_236.65.asp?current=yes for StudentSpending

Behvioral Risk Factors Surveillance System (BRFSS) https://www.cdc.gov/brfss/brfssprevalence/ for Fruit, Vegetables, PhysicalActivity, HeavyDrinkers, NonWhite, and Obese.


Lock5Data documentation built on Jan. 8, 2026, 9:09 a.m.