Chapter 3 Codebook

This chapter displays the codebook for the Good Loser data set, generated using the R package “codebook”.

## # A tibble: 17,405 x 12
##    rsp_id rsp_country rsp_eu rsp_gender rsp_age_cat_3 rsp_edu rsp_edu_2
##     <dbl> <chr>       <chr>  <chr>      <chr>         <chr>   <chr>    
##  1   1001 Iceland     Oppos~ Female     18-35         ""      ""       
##  2   1003 Iceland     Oppos~ Female     36-55         ""      ""       
##  3   1004 Iceland     Oppos~ Male       55<           ""      ""       
##  4   1005 Iceland     Oppos~ Male       55<           Interm~ Lower    
##  5   1006 Iceland     Suppo~ Female     55<           ""      ""       
##  6   1007 Iceland     Suppo~ Male       18-35         ""      ""       
##  7   1008 Iceland     Suppo~ Female     36-55         ""      ""       
##  8   1009 Iceland     Neith~ Male       36-55         ""      ""       
##  9  10013 Iceland     Neith~ Female     18-35         ""      ""       
## 10  10014 Iceland     Suppo~ Female     55<           ""      ""       
## # ... with 17,395 more rows, and 5 more variables: ref_turnout <chr>,
## #   ref_majoritysize <chr>, ref_winner <chr>, ref_outcome <chr>,
## #   ref_post <dbl>

3.1 Items

3.1.1 rsp_id

3.1.1.1 Distribution

0 missings.

3.1.1.2 Summary statistics

name data_type missing complete n mean sd p0 p25 p50 p75 p100 hist format.spss
rsp_id numeric 0 17405 17405 9.8e+09 2.1e+10 1001 4e+06 2e+08 3e+09 6e+10 ▇▁▁▁▁▁▁▂ F8.2

3.1.2 rsp_country

3.1.2.1 Distribution

0 missings.

3.1.2.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_country character 0 17405 17405 0 6 6 11 A11

3.1.3 rsp_eu

3.1.3.1 Distribution

0 missings.

3.1.3.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_eu character 0 17405 17405 180 4 0 40 A40

3.1.4 rsp_gender

3.1.4.1 Distribution

0 missings.

3.1.4.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_gender character 0 17405 17405 102 3 0 6 A6

3.1.5 rsp_age_cat_3

3.1.5.1 Distribution

0 missings.

3.1.5.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_age_cat_3 character 0 17405 17405 9 4 0 5 A5

3.1.6 rsp_edu

3.1.6.1 Distribution

0 missings.

3.1.6.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_edu character 0 17405 17405 263 4 0 12 A12

3.1.7 rsp_edu_2

3.1.7.1 Distribution

0 missings.

3.1.7.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
rsp_edu_2 character 0 17405 17405 263 3 0 6 A6

3.1.8 ref_turnout

3.1.8.1 Distribution

0 missings.

3.1.8.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
ref_turnout character 0 17405 17405 0 5 3 9 A9

3.1.9 ref_majoritysize

3.1.9.1 Distribution

0 missings.

3.1.9.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
ref_majoritysize character 0 17405 17405 0 4 3 9 A9

3.1.10 ref_winner

3.1.10.1 Distribution

0 missings.

3.1.10.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
ref_winner character 0 17405 17405 0 3 6 9 A9

3.1.11 ref_outcome

3.1.11.1 Distribution

0 missings.

3.1.11.2 Summary statistics

name data_type missing complete n empty n_unique min max format.spss
ref_outcome character 0 17405 17405 1518 4 0 19 A19

3.1.12 ref_post

3.1.12.1 Distribution

0 missings.

3.1.12.2 Summary statistics

name data_type missing complete n mean sd p0 p25 p50 p75 p100 hist format.spss
ref_post numeric 0 17405 17405 0.7 0.46 0 0 1 1 1 ▃▁▁▁▁▁▁▇ F8.2

3.2 Missingness report

Among those who finished the survey. Only variables that have missings are shown.

3.3 Codebook table