The 2025 National Public Opinion Reference Survey (NPORS), conducted February 5 – June 18, 2025, by Pew Research Center (n = 5,022). An address-based sample (ABS) drawn from the USPS Computerized Delivery Sequence File, with respondents completing the survey online, by paper, or by telephone in English or Spanish. All 65 columns from the public release file are retained.
pew_npors_2025A data frame with 5,022 rows and 65 variables. The 11 smuse_*
variables form a battery asking about social media platform use and share a
"question_preface" attribute. All other variables are documented
individually below:
Case ID. Unique respondent identifier.
Sampling stratum (10 levels, defined by census block group demographics).
Base weight — inverse probability of selection, with adaptive mode adjustment.
Final weight — basewt after raking to Census population
targets. Use for all population-level estimates.
Data collection mode: 1 = Online, 2 = Paper,
3 = Phone.
Language interview completed in: 1 = English,
2 = Spanish.
Language interview started in.
Interview start timestamp.
Interview end timestamp.
Economic conditions in your community today (Excellent / Good / Fair / Poor).
Economic conditions one year from now (Better / Worse / Same).
Community type: Urban / Suburban / Rural.
Americans united vs. divided on values.
Area safety in terms of crime (Extremely safe – Not at all safe).
Government's role in protecting people from themselves.
Impact of more gun ownership on crime.
Household financial situation (Comfortable – Can't meet basics).
Military service in household.
Volunteered for any organization in past 12 months.
Uses internet or email at least occasionally.
Accesses internet on a mobile device.
Internet use frequency (6 categories).
Internet use frequency (4 categories, derived).
Subscribes to home internet service.
Home internet type (dial-up, broadband, etc.).
Facebook. Part of social media use battery (see Details).
YouTube. Part of social media use battery (see Details).
X (formerly Twitter). Part of social media use battery.
Instagram. Part of social media use battery.
Snapchat. Part of social media use battery.
WhatsApp. Part of social media use battery.
TikTok. Part of social media use battery.
Reddit. Part of social media use battery.
Bluesky. Part of social media use battery.
Threads. Part of social media use battery.
Truth Social. Part of social media use battery.
Listens to radio.
Has a cell phone.
Cell phone is a smartphone.
Has a working landline telephone at home.
Current religion (12 categories).
Religion (4 categories: Protestant, Catholic, Unaffiliated, Other).
Born-again or evangelical Christian.
In-person religious service attendance (6 categories).
Online/TV religious service participation (6 categories).
Importance of religion in life (Very – Not at all).
Prayer frequency outside of services (7 categories).
Education level (categorical).
Hispanic origin.
Race (5 categories).
Race-ethnicity (5 categories including Asian non-Hispanic).
Age in 13 five-year groups.
Age (4 categories: 18-29, 30-49, 50-64, 65+).
U.S. born vs. foreign born.
Gender (man / woman / other).
Number of adults in household.
Total family income (8 categories from < $30,000 to $150,000+).
Census region (NE / MW / S / W).
Metropolitan area indicator.
Registered to vote at current address.
Party affiliation (Rep / Dem / Ind / Other).
Party lean for Independents (Rep / Dem).
Party summary (Rep+Lean Rep / Dem+Lean Dem / No lean).
Voted in the 2024 presidential election.
2024 presidential vote choice (Trump / Harris / Other).
Survey design: Stratified address-based sample with raking post-stratification — use Taylor series linearization. NPORS has no PSU (each address is its own unit, effectively a stratified SRS):
svy <- as_survey(pew_npors_2025,
strata = stratum,
weights = weight
)
Use basewt instead of weight for sensitivity analyses comparing
pre- and post-raking estimates.
Social media battery: All 11 smuse_* variables share the question
stem "Please indicate whether or not you ever use the following websites or apps." Values: 1 = Selected, 2 = Not selected, 99 = Refused.
Each variable additionally carries a "question_preface" attribute with
this shared stem.
Metadata:
All columns carry variable labels and value labels as R attributes from the
original SPSS file. The 11 smuse_* battery variables additionally carry
a "question_preface" attribute with the shared question stem. All three
attribute types are automatically extracted into surveycore's metadata
system when you call as_survey().
Variable labels ("label" attribute): A human-readable description of
each column — for smuse_* variables this is just the platform name
(e.g., "Facebook"). Example: attr(pew_npors_2025$smuse_fb, "label")
returns "Facebook".
Value labels ("labels" attribute): A named numeric vector mapping
each code to its meaning. Example:
attr(pew_npors_2025$smuse_fb, "labels") returns
c(Selected = 1, "Not selected" = 2, Refused = 99).
Question preface ("question_preface" attribute): The shared question
stem for battery items, set on all smuse_* columns. Example:
attr(pew_npors_2025$smuse_fb, "question_preface") returns
"Please indicate whether or not you ever use the following websites or apps.".
# Variables in the dataset
names(pew_npors_2025)
# Create survey design (no PSU for ABS design)
svy <- as_survey(
pew_npors_2025,
strata = stratum,
weights = weight
)
# Inspect variable label
attr(pew_npors_2025$smuse_fb, "label")
# Inspect value labels
attr(pew_npors_2025$smuse_fb, "labels")
# Inspect question preface (shared stem for all smuse_* battery items)
attr(pew_npors_2025$smuse_fb, "question_preface")
Run the code above in your browser using DataLab