Publications by Sebastien Parker
Tutorial 8
Data & Methods Dataset Overview france_data <- read_fst("france_data.fst") ess <- read_fst("All-ESS-Data.fst") dim(france_data) ## [1] 19038 2665 dim(ess) ## [1] 490555 2665 head(france_data[, c("trstplt", "trstprl", "trstprt", "gndr", "domicil", "eisced", "yrbrn")]) Variable Measurement and Cleaning france_clean <- france_data %>% mutate(...
17600 sym Python (41293 sym/113 pcs) 15 img 3 tbl
Tutorial 7
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "broom", "modelsummary", "sjPlot", "car", "knitr", "gt", "fst", "Lock5Data", "patchwork", "kableExtra", "broom", "sjmisc", "sjlabelled", "gt", "tinytable", "webshot2", "officer", "effects", "interactions", "see", "equatiomatic", "steve...
39699 sym Python (159419 sym/118 pcs) 22 img 9 tbl
Exercise 2 - Solutions
Required Setup ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1.3.1 ## ✔ ...
6842 sym Python (41539 sym/101 pcs) 8 img 6 tbl
Tutorial 6
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "broom", "modelsummary", "sjPlot", "car", "knitr", "gt", "fst", "Lock5Data", "patchwork", "kableExtra", "broom", "sjmisc", "sjlabelled", "gt", "tinytable", "flextable", "webshot2", "officer") # Install packages if they aren't install...
19343 sym Python (34984 sym/47 pcs) 7 img 8 tbl
Tutorial 6
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "broom", "modelsummary", "sjPlot", "car", "knitr", "gt", "fst", "Lock5Data", "patchwork", "kableExtra", "broom", "sjmisc", "sjlabelled", "gt", "tinytable", "flextable", "webshot2", "officer") # Install packages if they aren't install...
19349 sym Python (35000 sym/47 pcs) 7 img 8 tbl
Tutorial 5
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "broom", "modelsummary", "sjPlot", "car", "knitr", "gt", "fst") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages...
12943 sym Python (23158 sym/55 pcs) 9 img 6 tbl
Exercise 1 - Solutions
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # Load required packages packages <- c( "tidyverse", "gt", "gapminder", "srvyr", "srvyrexploR", "fst", "ggridges" ) # Install if needed and load new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(ne...
3771 sym Python (16370 sym/23 pcs) 6 img 4 tbl
Fourth Tutorial
Let’s begin with the package setup for today’s tutorial: knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "fst", "gt", "scales", "viridis", "patchwork", "ggrepel") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[...
21154 sym Python (69480 sym/112 pcs) 17 img 10 tbl
Fourth Tutorial
Let’s begin with the package setup for today’s tutorial: knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) # List of packages packages <- c("tidyverse", "fst", "gt", "scales", "viridis", "patchwork", "ggrepel") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[...
21556 sym Python (69489 sym/111 pcs) 16 img 10 tbl
Tutorial 4
Let’s begin with the package setup for today’s tutorial: Introduction to the General Social Survey The General Social Survey (GSS) is one of the foundational data sources for understanding social change in the United States. Started in 1972, the GSS: Assigns questionnaires to a nationally representative sample of U.S. adults Covers a wide ran...
21097 sym Python (65669 sym/104 pcs) 16 img 9 tbl