• Tidy Survey Analysis in R
  • Home
    • About the Book
    • Get the Book
    • Companion Data Package
    • About the Authors
  • Events

A Chapman & Hall / CRC Book · 2024

Exploring
Complex Survey
Data Analysis
Using R

A Tidy Introduction with {srvyr} and {survey}

Read the book — free → Where to buy

library(srvyrexploR) survey_count() as_survey_design()

{About the book}

From raw weights to weighted publishable findings

Surveys are powerful tools for gathering information, uncovering insights, and facilitating decision-making. However, to ensure the accurate interpretation of results, they require specific analysis methods.

In this book, readers embark on an in-depth journey into conducting complex survey analysis with the {srvyr} package and tidyverse family of functions from the R programming language. Intended for intermediate R users familiar with the basics of the tidyverse, this book gives readers a deeper understanding of applying appropriate survey analysis techniques using {srvyr}, {survey}, and other related packages.

Featured datasets

American National election Studies
Demographics and voting
ANES
Residential Energy Consumption Survey
Energy and housing
RECS
National Crime Victimization Survey
Public safety
NCVS
AmericasBarometer
Public opinion


Tidyverse principles
Uses familiar tidyverse style synax to analyze survey data with the {srvyr} package.

Tidyverse principles

Statistical understanding
Grants a conceptual understanding of statistical methods behind the functions.

Statistical understanding

Public, reproducible data
Includes practical walkthroughs using publicly available survey data.

Public, reproducible data

End-to-end examples
Provides the reader with the tools for interpreting, visualizing, and presenting results.

End-to-end examples

No matching items

{Get the book}

Read it free on the web, or ship one home in print

Published by Chapman & Hall / CRC Press. Available in hardcover, paperback, and eBook.

FREE ONLINE EDITION
OPEN ACCESS

The full book, on the web

Open the book ↗

PRINT & EBOOK
RETAILERS

  • Routledge
  • Your local bookstore in USA
  • Your local bookstore in Canada
  • Your local bookstore in the UK
  • Amazon

{Companion data package}

All the datasets in one tidy R package

Examples throughout the book use publicly available datasets. Most of these datasets are included in the R package {srvyrexploR} available on GitHub.

Package documentation ↗

View on GitHub ↗

library(tidyverse)
library(survey)
library(srvyr)
library(srvyrexploR)

targetpop <- 231592693

anes_adjwgt <- anes_2020 %>%
  mutate(Weight = Weight / sum(Weight) * targetpop)

anes_des <- anes_adjwgt %>%
  as_survey_design(
    weights = Weight,
    strata = Stratum,
    ids = VarUnit,
    nest = TRUE
  )

{About the authors}

We ♡ what we do

Stephanie Zimmer

Stephanie Zimmer
PhD · Senior Survey Statistician
RTI International

A senior survey statistician with 10 years experience in survey sampling and design, weighting and analysis, and data management. An expert statistical programmer in R, SAS, and SUDAAN. PhD in Statistics from Iowa State University, BS from NC State. After earning the RStudio Tidyverse Trainer certification, she co-taught two courses on tidy survey analysis in R.

  • LinkedIn ↗
  • BlueSky ↗
Stephanie Zimmer

Rebecca J. Powell

Rebecca J. Powell
PhD · Director, Data & Research Ops
Fors Marsh

Director of Data & Research Operations at Fors Marsh. Research interests focus on visual design of questionnaires and contact materials. A Certified RStudio Tidyverse Trainer who has taught courses and webinars on data management in R and tidy survey analysis at both AAPOR and MAPOR. PhD in Survey Research and Methodology from the University of Nebraska–Lincoln; BS and MS in Applied Statistics from Rochester Institute of Technology.

  • LinkedIn ↗
Rebecca J. Powell

Isabella Velásquez

Isabella Velásquez
Sr. PMM
Posit Software, PBC

A content strategist, data enthusiast, and author. Experience spans data collection, grantmaking, strategy development, and survey instrument development. Sr. Product Marketing Manager at Posit Software, PBC. MSc in Analytics and BA in Economics and East Asian Languages and Civilizations from the University of Chicago.

  • LinkedIn ↗
  • BlueSky ↗
Isabella Velásquez
No matching items
 

TIDY SURVEY ANALYSIS IN R © 2024-2026. CC-BY-NC-ND 4.0.