Toloka sample demographics

library (pacman)
p_load('tidyverse', 'lubridate', 'kableExtra', 'magrittr', 'sjlabelled','haven', 'vtable')
df<-read_sav('toloka_data.sav');

df %>%
  dplyr::rename(country=`Q2.7`,no_attention=`Q14_19`,
                use_often=Q9.1) %>% 
  mutate(Education=haven::as_factor(Education, ordered=T),
         Gender=haven::as_factor(Gender, levels='label'),
         Ethnicity=haven::as_factor(Ethnicity),
         Income=haven::as_factor(Income, ordered=T,levels='label'),
         no_attention=haven::as_factor(no_attention, ordered=T),
         use_often=haven::as_factor(use_often, ordered=T),
         ) %>% 
  mutate(sentry_passed=case_when(sentry_status==''~ 'Not done', 
                                 sentry_status=='1'~ 'Passed',
                                 .default='Failed')) %>% 

  select(sentry_passed, country, no_attention, use_often, Education, Gender,
          Income) %>% 
    sumtable( group='sentry_passed', group.test=T, labels=T)
Summary Statistics
sentry_passed
Failed
Not done
Passed
Variable N Percent N Percent N Percent Test
NFC - I currently don't pay attention to the questions I'm being asked in the survey 578 1253 514 X2=57.005***
... Strongly Disagree 330 57.1% 820 65.4% 393 76.5%
... Disagree 93 16.1% 177 14.1% 60 11.7%
... Neither 52 9% 88 7% 34 6.6%
... Agree 75 13% 119 9.5% 19 3.7%
... Strongly Agree 28 4.8% 49 3.9% 8 1.6%
How often do you use [Field-site]? 526 1238 484 X2=23.1*
... Less than 1 hour per month 27 5.1% 39 3.2% 12 2.5%
... 1-2 hours per month 17 3.2% 40 3.2% 10 2.1%
... 1-2 hours per week 27 5.1% 72 5.8% 16 3.3%
... 2-4 hours per week 55 10.5% 113 9.1% 54 11.2%
... 4-8 hours per week 91 17.3% 203 16.4% 95 19.6%
... 8-20 hours per week 103 19.6% 286 23.1% 126 26%
... 20-40 hours per wekk 86 16.3% 225 18.2% 77 15.9%
... More than 40 hours per week 120 22.8% 260 21% 94 19.4%
What is the highest level of education that you have completed? - Selected Choice 608 1386 527 X2=33.848**
... Some high school 18 3% 32 2.3% 4 0.8%
... High school 127 20.9% 273 19.7% 110 20.9%
... Associate's degree 35 5.8% 77 5.6% 18 3.4%
... Bachelor's degree 296 48.7% 629 45.4% 279 52.9%
... Some graduate school 26 4.3% 95 6.9% 34 6.5%
... Master's degree 75 12.3% 189 13.6% 61 11.6%
... Other professional degree 11 1.8% 34 2.5% 11 2.1%
... Doctoral Degree 5 0.8% 12 0.9% 6 1.1%
... Other 8 1.3% 23 1.7% 4 0.8%
... I prefer not to say 7 1.2% 22 1.6% 0 0%
What is your gender? 608 1394 527 X2=12.466**
... Male 366 60.2% 903 64.8% 311 59%
... Female 241 39.6% 485 34.8% 210 39.8%
... Non-binary 1 0.2% 6 0.4% 6 1.1%
What is your annual household income? 608 1378 527 X2=36.003**
... Less than $1,000 a year 160 26.3% 325 23.6% 110 20.9%
... $1,000 - $2,000 96 15.8% 225 16.3% 89 16.9%
... $2,000 - $5,000 90 14.8% 179 13% 67 12.7%
... $5,000 - $10,000 83 13.7% 164 11.9% 54 10.2%
... $10,000 - $25,000 53 8.7% 139 10.1% 85 16.1%
... $25,000 - $50,000 33 5.4% 79 5.7% 33 6.3%
... $50,000 - $75,000 19 3.1% 52 3.8% 19 3.6%
... $75,000 - $100,000 15 2.5% 30 2.2% 12 2.3%
... $100,000 - $150,000 12 2% 19 1.4% 4 0.8%
... More than $150,000 8 1.3% 24 1.7% 7 1.3%
... Prefer not to answer 39 6.4% 142 10.3% 47 8.9%
Statistical significance markers: * p<0.1; ** p<0.05; *** p<0.01