Load Libraries and Import Data

library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ forcats   1.0.0     ✔ readr     2.1.4
## ✔ ggplot2   3.4.4     ✔ stringr   1.5.0
## ✔ lubridate 1.9.3     ✔ tibble    3.2.1
## ✔ purrr     1.0.2     ✔ tidyr     1.3.0
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(readxl)
library(here)
## here() starts at /Users/melissalagunas/Desktop/Lab/Life Stress and Chronic Pain
library(formattable)



# Define the absolute path to the Excel file
file_path <- "/Users/melissalagunas/Desktop/Lab/Life Stress and Chronic Pain/Prolific AAPI Participants.xlsx"

# Read the Excel file
d <- read_excel(file_path)
## New names:
## • `INT` -> `INT...140`
## • `IMM` -> `IMM...141`
## • `IMM_4_TEXT` -> `IMM_4_TEXT...142`
## • `INT` -> `INT...154`
## • `IMM` -> `IMM...155`
## • `IMM_4_TEXT` -> `IMM_4_TEXT...156`
View(d)

Inspecting the data structure

str(d)
## tibble [184 × 156] (S3: tbl_df/tbl/data.frame)
##  $ StartDate            : chr [1:184] "Start Date" "45335.71791666667" "45335.731458333335" "45335.74435185185" ...
##  $ EndDate              : chr [1:184] "End Date" "45335.723032407404" "45335.73769675926" "45335.755057870374" ...
##  $ Status               : chr [1:184] "Response Type" "IP Address" "IP Address" "IP Address" ...
##  $ IPAddress            : chr [1:184] "IP Address" "50.39.185.75" "98.11.42.191" "98.97.22.155" ...
##  $ Progress             : chr [1:184] "Progress" "100.0" "100.0" "100.0" ...
##  $ Duration (in seconds): chr [1:184] "Duration (in seconds)" "441.0" "538.0" "924.0" ...
##  $ Finished             : chr [1:184] "Finished" "True" "True" "True" ...
##  $ RecordedDate         : chr [1:184] "Recorded Date" "45335.72304336805" "45335.73770894676" "45335.75506979167" ...
##  $ ResponseId           : chr [1:184] "Response ID" "R_7NlZpxLSipZZ2aw" "R_3CCV6QnTQxytBsq" "R_30kPLEac9HtLY86" ...
##  $ RecipientLastName    : chr [1:184] "Recipient Last Name" NA NA NA ...
##  $ RecipientFirstName   : chr [1:184] "Recipient First Name" NA NA NA ...
##  $ RecipientEmail       : chr [1:184] "Recipient Email" NA NA NA ...
##  $ ExternalReference    : chr [1:184] "External Data Reference" NA NA NA ...
##  $ LocationLatitude     : chr [1:184] "Location Latitude" "45.4501" "42.0804" "40.7123" ...
##  $ LocationLongitude    : chr [1:184] "Location Longitude" "-122.868" "-78.4234" "-74.0068" ...
##  $ DistributionChannel  : chr [1:184] "Distribution Channel" "anonymous" "anonymous" "anonymous" ...
##  $ UserLanguage         : chr [1:184] "User Language" "EN" "EN" "EN" ...
##  $ Q40                  : chr [1:184] "Please select whether you agree to participate in this study:" "I agree" "I agree" "I agree" ...
##  $ Q51                  : chr [1:184] "If you were directed to this survey through Prolific, please enter your Prolific ID:(otherwise, disr" "65aee147dd09ccb156e4c0f4" "6087ee3e8df094dc6dd69e8e" "631b822619211df6b4180d50" ...
##  $ Q192_1               : chr [1:184] "The questions in this scale ask you about your feelings and thoughts during THE LAST MONTH. In each case, pleas"| __truncated__ "Very Often" "Sometimes" "Almost Never" ...
##  $ Q192_2               : chr [1:184] "The questions in this scale ask you about your feelings and thoughts during THE LAST MONTH. In each case, pleas"| __truncated__ "Almost Never" "Sometimes" "Very Often" ...
##  $ Q192_3               : chr [1:184] "The questions in this scale ask you about your feelings and thoughts during THE LAST MONTH. In each case, pleas"| __truncated__ "Never" "Sometimes" "Fairly Often" ...
##  $ Q192_4               : chr [1:184] "The questions in this scale ask you about your feelings and thoughts during THE LAST MONTH. In each case, pleas"| __truncated__ "Very Often" "Sometimes" "Almost Never" ...
##  $ LSS_1                : chr [1:184] "You were discouraged by a teacher or advisor from seeking higher education." "Yes" "No" "Yes" ...
##  $ LSS_2                : chr [1:184] "You were denied a scholarship." "No" "No" NA ...
##  $ LSS_3                : chr [1:184] "You were not hired for a job." "Yes" "Yes" "No" ...
##  $ LSS_4                : chr [1:184] "You were not given a promotion." "Yes" NA "No" ...
##  $ LSS_5                : chr [1:184] "You were fired." "No" NA "No" ...
##  $ LSS_6                : chr [1:184] "You were prevented from renting or buying a home in the neighborhood you wanted." "Yes" NA "No" ...
##  $ LSS_7                : chr [1:184] "You were prevented from remaining in a neighborhood because neighbors made life so uncomfortable." "Yes" NA "Yes" ...
##  $ LSS_8                : chr [1:184] "You were hassled by the police." "No" "Yes" "No" ...
##  $ LSS_9                : chr [1:184] "You were denied a bank loan." "No" NA "No" ...
##  $ LSS_10               : chr [1:184] "You were denied or provided inferior medical care." "No" "Yes" "No" ...
##  $ LSS_11               : chr [1:184] "You were denied or provided inferior service by a plumber, car mechanic, or other service provider." "No" NA "No" ...
##  $ DSS_1                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Less than once a year" "A few times a year" "A few times a year" ...
##  $ DSS_2                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Less than once a year" "A few times a year" "A few times a year" ...
##  $ DSS_3                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Never" "Less than once a year" "Less than once a year" ...
##  $ DSS_4                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Never" "Less than once a year" "Never" ...
##  $ DSS_5                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Never" "Never" "Never" ...
##  $ DSS_6                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "A few times a year" "Never" "Never" ...
##  $ DSS_7                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Less than once a year" "A few times a month" "A few times a year" ...
##  $ DSS_8                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "A few times a year" "Never" "Less than once a year" ...
##  $ DSS_9                : chr [1:184] "How many times in your life have you been discriminated against in each of the following ways because of such t"| __truncated__ "Less than once a year" "Never" "Less than once a year" ...
##  $ Q210                 : chr [1:184] "What do you think is the main reason for these experiences? (Check more than one if volunteered) - Selected Choice" "Your ancestry or national origins,Your gender,Your race,Your sexual orientation" "Your ancestry or national origins,Your gender,Your race,Your age,Your education or income level,A physical disa"| __truncated__ "Your gender,Your race" ...
##  $ Q210_15_TEXT         : chr [1:184] "What do you think is the main reason for these experiences? (Check more than one if volunteered) - Not listed, "| __truncated__ NA NA NA ...
##  $ PR_PF_1              : chr [1:184] "Please respond to each question or statement by marking one box per row. - Are you able to do chores such as va"| __truncated__ "With some difficulty" "With much difficulty" "With much difficulty" ...
##  $ PR_PF_2              : chr [1:184] "Please respond to each question or statement by marking one box per row. - Are you able to go up and down stair"| __truncated__ "Without any difficulty" "With some difficulty" "With much difficulty" ...
##  $ PR_PF_3              : chr [1:184] "Please respond to each question or statement by marking one box per row. - Are you able to go for a walk of at "| __truncated__ "Without any difficulty" "With a little difficulty" "With some difficulty" ...
##  $ PR_PF_4              : chr [1:184] "Please respond to each question or statement by marking one box per row. - Are you able to run errands and shop?" "With some difficulty" "With a little difficulty" "With some difficulty" ...
##  $ PR_AD_1              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt fearful" "Sometimes" "Often" "Never" ...
##  $ PR_AD_2              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I found it hard to focus on anything"| __truncated__ "Often" "Sometimes" "Never" ...
##  $ PR_AD_3              : chr [1:184] "Please respond to each question or statement by marking one box per row. - My worries overwhelmed me" "Often" "Sometimes" "Rarely" ...
##  $ PR_AD_4              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt uneasy" "Often" "Sometimes" "Never" ...
##  $ PR_AD_5              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt worthless" "Often" "Sometimes" "Sometimes" ...
##  $ PR_AD_6              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt helpless" "Often" "Rarely" "Sometimes" ...
##  $ PR_AD_7              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt depressed" "Often" "Often" "Sometimes" ...
##  $ PR_AD_8              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I felt hopeless" "Often" "Sometimes" "Never" ...
##  $ PR_SR_1              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I have trouble doing all of my regul"| __truncated__ "Sometimes" "Sometimes" "Often" ...
##  $ PR_SR_2              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I have trouble doing all of the fami"| __truncated__ "Always" "Sometimes" "Often" ...
##  $ PR_SR_3              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I have trouble doing all of my usual"| __truncated__ "Always" "Sometimes" "Sometimes" ...
##  $ PR_SR_4              : chr [1:184] "Please respond to each question or statement by marking one box per row. - I have trouble doing all of the acti"| __truncated__ "Always" "Sometimes" "Often" ...
##  $ PR_PI_1              : chr [1:184] "Please respond to each question or statement by marking one box per row. - How much did pain interfere with you"| __truncated__ "Quite a bit" "Quite a bit" "Quite a bit" ...
##  $ PR_PI_2              : chr [1:184] "Please respond to each question or statement by marking one box per row. - How much did pain interfere with wor"| __truncated__ "Quite a bit" "Quite a bit" "Quite a bit" ...
##  $ PR_PI_3              : chr [1:184] "Please respond to each question or statement by marking one box per row. - How much did pain interfere with you"| __truncated__ "Quite a bit" "Quite a bit" "Very much" ...
##  $ PR_PI_4              : chr [1:184] "Please respond to each question or statement by marking one box per row. - How much did pain interfere with you"| __truncated__ "Quite a bit" "Quite a bit" "Quite a bit" ...
##  $ PR_INT               : chr [1:184] "How would you rate your pain on average?" "6" "6" "8" ...
##  $ ANG_1                : chr [1:184] "Please respond to each item by marking one box per row. \n\nIn the past 7 days... - I was irritated more than people knew." "Rarely" "Sometimes" "Sometimes" ...
##  $ ANG_2                : chr [1:184] "Please respond to each item by marking one box per row. \n\nIn the past 7 days... - I felt angry." "Never" "Sometimes" "Sometimes" ...
##  $ ANG_3                : chr [1:184] "Please respond to each item by marking one box per row. \n\nIn the past 7 days... - I felt like I was ready to explode." "Never" "Rarely" "Rarely" ...
##  $ ANG_4                : chr [1:184] "Please respond to each item by marking one box per row. \n\nIn the past 7 days... - I was grouchy." "Sometimes" "Often" "Sometimes" ...
##  $ ANG_5                : chr [1:184] "Please respond to each item by marking one box per row. \n\nIn the past 7 days... - I felt annoyed." "Sometimes" "Often" "Often" ...
##  $ CSA_1                : chr [1:184] "Please choose the best response to the right of each statement. - I feel unrefreshed when I wake up in the morning" "Always" "Rarely" "Always" ...
##  $ CSA_2                : chr [1:184] "Please choose the best response to the right of each statement. - My muscles feel stiff and achy" "Often" "Often" "Often" ...
##  $ CSA_3                : chr [1:184] "Please choose the best response to the right of each statement. - I have anxiety attacks" "Often" "Sometimes" "Never" ...
##  $ CSA_4                : chr [1:184] "Please choose the best response to the right of each statement. - I grind or clench my teeth" "Always" "Often" "Sometimes" ...
##  $ CSA_5                : chr [1:184] "Please choose the best response to the right of each statement. - I have problems with diarrhea and/or constipation" "Always" "Often" "Sometimes" ...
##  $ CSA_6                : chr [1:184] "Please choose the best response to the right of each statement. - I need help in performing my daily activities" "Rarely" "Sometimes" "Sometimes" ...
##  $ CSA_7                : chr [1:184] "Please choose the best response to the right of each statement. - I am sensitive to bright lights" "Never" "Often" "Rarely" ...
##  $ CSA_8                : chr [1:184] "Please choose the best response to the right of each statement. - I get tired very easily when I am physically active" "Often" "Often" "Sometimes" ...
##  $ CSA_9                : chr [1:184] "Please choose the best response to the right of each statement. - I feel pain all over my body" "Rarely" "Often" "Rarely" ...
##  $ CSA_10               : chr [1:184] "Please choose the best response to the right of each statement. - I have headaches" "Sometimes" "Always" "Rarely" ...
##  $ CSA_11               : chr [1:184] "Please choose the best response to the right of each statement. - I feel discomfort in my bladder and/or burnin"| __truncated__ "Never" "Sometimes" "Rarely" ...
##  $ CSA_12               : chr [1:184] "Please choose the best response to the right of each statement. - I do not sleep well" "Always" "Often" "Always" ...
##  $ CSA_13               : chr [1:184] "Please choose the best response to the right of each statement. - I have difficulty concentrating" "Always" "Often" "Sometimes" ...
##  $ CSA_14               : chr [1:184] "Please choose the best response to the right of each statement. - I have skin problems such as dryness, itchiness, or rashes" "Never" "Always" "Often" ...
##  $ CSA_15               : chr [1:184] "Please choose the best response to the right of each statement. - Stress makes my physical symptoms get worse" "Always" "Often" "Often" ...
##  $ CSA_16               : chr [1:184] "Please choose the best response to the right of each statement. - I feel sad or depressed" "Always" "Sometimes" "Sometimes" ...
##  $ CSA_17               : chr [1:184] "Please choose the best response to the right of each statement. - I have low energy" "Always" "Often" "Sometimes" ...
##  $ CSA_18               : chr [1:184] "Please choose the best response to the right of each statement. - I have muscle tension in my neck and shoulders" "Always" "Sometimes" "Rarely" ...
##  $ CSA_19               : chr [1:184] "Please choose the best response to the right of each statement. - I have pain in my jaw" "Sometimes" "Sometimes" "Never" ...
##  $ CSA_20               : chr [1:184] "Please choose the best response to the right of each statement. - Certain smells, such as perfumes, make me fee"| __truncated__ "Often" "Often" "Sometimes" ...
##  $ CSA_21               : chr [1:184] "Please choose the best response to the right of each statement. - I have to urinate frequently" "Never" "Sometimes" "Often" ...
##  $ CSA_22               : chr [1:184] "Please choose the best response to the right of each statement. - My legs feel uncomfortable and restless when "| __truncated__ "Never" "Rarely" "Sometimes" ...
##  $ CSA_23               : chr [1:184] "Please choose the best response to the right of each statement. - I have difficulty remembering things" "Never" "Sometimes" "Rarely" ...
##  $ CSA_24               : chr [1:184] "Please choose the best response to the right of each statement. - I suffered trauma as a child" "Often" "Sometimes" "Sometimes" ...
##  $ CSA_25               : chr [1:184] "Please choose the best response to the right of each statement. - I have pain in my pelvic area" "Never" "Sometimes" "Sometimes" ...
##  $ IEQ_1                : chr [1:184] "Chronic health and mental health conditions can have profound effects on our lives. This scale was designed to "| __truncated__ "Often" "Sometimes" "Often" ...
##  $ IEQ_2                : chr [1:184] "Chronic health and mental health conditions can have profound effects on our lives. This scale was designed to "| __truncated__ "Often" "Sometimes" "Often" ...
##  $ IEQ_3                : chr [1:184] "Chronic health and mental health conditions can have profound effects on our lives. This scale was designed to "| __truncated__ "Often" "Often" "Sometimes" ...
##   [list output truncated]
summary(d)
##   StartDate           EndDate             Status           IPAddress        
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    Progress         Duration (in seconds)   Finished         RecordedDate      
##  Length:184         Length:184            Length:184         Length:184        
##  Class :character   Class :character      Class :character   Class :character  
##  Mode  :character   Mode  :character      Mode  :character   Mode  :character  
##   ResponseId        RecipientLastName  RecipientFirstName RecipientEmail    
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##  ExternalReference  LocationLatitude   LocationLongitude  DistributionChannel
##  Length:184         Length:184         Length:184         Length:184         
##  Class :character   Class :character   Class :character   Class :character   
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character   
##  UserLanguage           Q40                Q51               Q192_1         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     Q192_2             Q192_3             Q192_4             LSS_1          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     LSS_2              LSS_3              LSS_4              LSS_5          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     LSS_6              LSS_7              LSS_8              LSS_9          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     LSS_10             LSS_11             DSS_1              DSS_2          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     DSS_3              DSS_4              DSS_5              DSS_6          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     DSS_7              DSS_8              DSS_9               Q210          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##  Q210_15_TEXT         PR_PF_1            PR_PF_2            PR_PF_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    PR_PF_4            PR_AD_1            PR_AD_2            PR_AD_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    PR_AD_4            PR_AD_5            PR_AD_6            PR_AD_7         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    PR_AD_8            PR_SR_1            PR_SR_2            PR_SR_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    PR_SR_4            PR_PI_1            PR_PI_2            PR_PI_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    PR_PI_4             PR_INT             ANG_1              ANG_2          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     ANG_3              ANG_4              ANG_5              CSA_1          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_2              CSA_3              CSA_4              CSA_5          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_6              CSA_7              CSA_8              CSA_9          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_10             CSA_11             CSA_12             CSA_13         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_14             CSA_15             CSA_16             CSA_17         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_18             CSA_19             CSA_20             CSA_21         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     CSA_22             CSA_23             CSA_24             CSA_25         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     IEQ_1              IEQ_2              IEQ_3              IEQ_4          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     IEQ_5              PCL5_1             PCL5_2             PCL5_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     PCL5_4             RISC_1             RISC_2             RISC_3         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     RISC_4             RISC_5             RISC_6             RISC_7         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     RISC_8             RISC_9            RISC_10            RISC_11         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     ESCA_1             ESCA_2             ESCA_3             ESCA_4         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     ESCA_5             ESCA_6             ESCA_7             ESCA_8         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##     ESCA_9            ESCA_10            SLESQ_1            SLESQ_2         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    SLESQ_3            SLESQ_4            SLESQ_5            SLESQ_6         
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    SLESQ_7            SLESQ_8            SLESQ_9            SLESQ_10        
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##    SLESQ_11           SLESQ_12           SLESQ_13          INT...140        
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##   IMM...141         IMM_4_TEXT...142       AGE                ETHN          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##  ETHN_10_TEXT           GEN             GEN_8_TEXT            EDU           
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##  EDU_11_TEXT            EMP               INS_1              INS_2          
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##      INC             INT...154          IMM...155         IMM_4_TEXT...156  
##  Length:184         Length:184         Length:184         Length:184        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character

Identify dulicate entries

duplicate_rows <- d[duplicated(d), ]  # Find duplicate rows
print(duplicate_rows)
## # A tibble: 0 × 156
## # ℹ 156 variables: StartDate <chr>, EndDate <chr>, Status <chr>,
## #   IPAddress <chr>, Progress <chr>, Duration (in seconds) <chr>,
## #   Finished <chr>, RecordedDate <chr>, ResponseId <chr>,
## #   RecipientLastName <chr>, RecipientFirstName <chr>, RecipientEmail <chr>,
## #   ExternalReference <chr>, LocationLatitude <chr>, LocationLongitude <chr>,
## #   DistributionChannel <chr>, UserLanguage <chr>, Q40 <chr>, Q51 <chr>,
## #   Q192_1 <chr>, Q192_2 <chr>, Q192_3 <chr>, Q192_4 <chr>, LSS_1 <chr>, …

The tibble has 0 rows and 156 columns, which means that no duplicate entries were found when checking for duplicates in the dataset.

Review response distributions

ggplot(d, aes(x = Finished)) +
  geom_bar()

Include those who finished survey

d_finished <- (filter(d, Finished == 'True'))
finished_survey <- nrow(d_finished)
finished_survey
## [1] 146

184 opened the survey, of those 146 finished

Check for missing data

missing_summary <- d %>%
  summarise_all(~sum(is.na(.))/n())  # Calculate the proportion of missing values for each variable
print(missing_summary) 
## # A tibble: 1 × 156
##   StartDate EndDate Status IPAddress Progress `Duration (in seconds)` Finished
##       <dbl>   <dbl>  <dbl>     <dbl>    <dbl>                   <dbl>    <dbl>
## 1         0       0      0         0        0                       0        0
## # ℹ 149 more variables: RecordedDate <dbl>, ResponseId <dbl>,
## #   RecipientLastName <dbl>, RecipientFirstName <dbl>, RecipientEmail <dbl>,
## #   ExternalReference <dbl>, LocationLatitude <dbl>, LocationLongitude <dbl>,
## #   DistributionChannel <dbl>, UserLanguage <dbl>, Q40 <dbl>, Q51 <dbl>,
## #   Q192_1 <dbl>, Q192_2 <dbl>, Q192_3 <dbl>, Q192_4 <dbl>, LSS_1 <dbl>,
## #   LSS_2 <dbl>, LSS_3 <dbl>, LSS_4 <dbl>, LSS_5 <dbl>, LSS_6 <dbl>,
## #   LSS_7 <dbl>, LSS_8 <dbl>, LSS_9 <dbl>, LSS_10 <dbl>, LSS_11 <dbl>, …

Calculate degree of item level missingness

d$nmiss <- d%>%
  select(Q192_1:IMM_4_TEXT...156) %>%
  
  is.na %>%
  rowSums
  
d <- d%>%
  mutate(prop_miss = (nmiss/88)*100)

Descriptives of proportion missing

casemiss <- psych::describe(d$prop_miss)
casemiss
##    vars   n  mean    sd median trimmed  mad min    max  range skew kurtosis
## X1    1 184 12.78 24.66   6.82    7.88 1.68   0 155.68 155.68 5.26    26.87
##      se
## X1 1.82
missmin <- digits(casemiss$min, 0)
missmax <- digits(casemiss$max, 0)

There is a total of 184 observations (cases or rows) in the dataset. On average, each observation has approximately 12.78% missing values. The standard deviation of the proportion of missing values is 24.66, indicating variability in the extent of missingness across observations. The proportion of missing values ranges from 0% to 155.68% (which seems unusual and may need further investigation).

Eliminate missing based on proportion of item level missingness

d <- filter(d, prop_miss <= 80) #update df to have only those w/ 80% data

Create ID variables

d <- d %>%
  mutate(ID = row_number())
d <- d %>%
  select(ID, everything())

Update df

d <- d %>%
  select (-c(ID, nmiss, prop_miss))

calculate proportions of cells and cases w/ missing

cellsmiss <- percent(mean(is.na(d)))
casecomplete <- percent(mean(complete.cases(d)))
cellsmiss
## [1] 7.76%
casecomplete
## [1] 0.56%

Proportions of Cells with Missing Values (cellsmiss):7.76% of cells in the dataset contain missing values. This means that for each variable in the dataset, on average, about 7.76% of the values are missing. Proportions of Cases with Complete Data (casecomplete):The output suggests that approximately 0.56% of cases (or observations) in the dataset d are complete, meaning they have no missing values across all variables.

Item level missingness

library(mice)
## 
## Attaching package: 'mice'
## The following object is masked from 'package:stats':
## 
##     filter
## The following objects are masked from 'package:base':
## 
##     cbind, rbind
mice_out <- md.pattern(d, plot = TRUE, rotate.names = TRUE)

mice_out
##    StartDate EndDate Status IPAddress Progress Duration (in seconds) Finished
## 1          1       1      1         1        1                     1        1
## 9          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 63         1       1      1         1        1                     1        1
## 5          1       1      1         1        1                     1        1
## 3          1       1      1         1        1                     1        1
## 3          1       1      1         1        1                     1        1
## 12         1       1      1         1        1                     1        1
## 5          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 4          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 2          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
## 1          1       1      1         1        1                     1        1
##            0       0      0         0        0                     0        0
##    RecordedDate ResponseId DistributionChannel UserLanguage Q40 Q51 PR_AD_4
## 1             1          1                   1            1   1   1       1
## 9             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 63            1          1                   1            1   1   1       1
## 5             1          1                   1            1   1   1       1
## 3             1          1                   1            1   1   1       1
## 3             1          1                   1            1   1   1       1
## 12            1          1                   1            1   1   1       1
## 5             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 4             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 2             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
## 1             1          1                   1            1   1   1       1
##               0          0                   0            0   0   0       0
##    PR_AD_6 PR_AD_8 CSA_1 CSA_2 CSA_3 CSA_4 CSA_5 CSA_6 CSA_11 CSA_12 CSA_13
## 1        1       1     1     1     1     1     1     1      1      1      1
## 9        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 63       1       1     1     1     1     1     1     1      1      1      1
## 5        1       1     1     1     1     1     1     1      1      1      1
## 3        1       1     1     1     1     1     1     1      1      1      1
## 3        1       1     1     1     1     1     1     1      1      1      1
## 12       1       1     1     1     1     1     1     1      1      1      1
## 5        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 4        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 2        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
## 1        1       1     1     1     1     1     1     1      1      1      1
##          0       0     0     0     0     0     0     0      0      0      0
##    CSA_14 CSA_15 CSA_17 CSA_18 CSA_19 CSA_20 CSA_21 CSA_22 CSA_23 CSA_24 CSA_25
## 1       1      1      1      1      1      1      1      1      1      1      1
## 9       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 63      1      1      1      1      1      1      1      1      1      1      1
## 5       1      1      1      1      1      1      1      1      1      1      1
## 3       1      1      1      1      1      1      1      1      1      1      1
## 3       1      1      1      1      1      1      1      1      1      1      1
## 12      1      1      1      1      1      1      1      1      1      1      1
## 5       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 4       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 2       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
## 1       1      1      1      1      1      1      1      1      1      1      1
##         0      0      0      0      0      0      0      0      0      0      0
##    SLESQ_1 SLESQ_2 SLESQ_3 SLESQ_4 SLESQ_5 SLESQ_6 SLESQ_7 SLESQ_8 SLESQ_9
## 1        1       1       1       1       1       1       1       1       1
## 9        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 63       1       1       1       1       1       1       1       1       1
## 5        1       1       1       1       1       1       1       1       1
## 3        1       1       1       1       1       1       1       1       1
## 3        1       1       1       1       1       1       1       1       1
## 12       1       1       1       1       1       1       1       1       1
## 5        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 4        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
##          0       0       0       0       0       0       0       0       0
##    SLESQ_10 SLESQ_12 SLESQ_13 IMM...141 Q192_1 Q192_2 Q192_3 Q192_4 DSS_1 DSS_2
## 1         1        1        1         1      1      1      1      1     1     1
## 9         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 63        1        1        1         1      1      1      1      1     1     1
## 5         1        1        1         1      1      1      1      1     1     1
## 3         1        1        1         1      1      1      1      1     1     1
## 3         1        1        1         1      1      1      1      1     1     1
## 12        1        1        1         1      1      1      1      1     1     1
## 5         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 4         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 2         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      1      1      1      1     1     1
## 1         1        1        1         1      0      0      0      0     0     0
##           0        0        0         0      1      1      1      1     1     1
##    DSS_3 DSS_4 DSS_6 DSS_7 DSS_8 DSS_9 PR_PF_1 PR_PF_2 PR_PF_3 PR_PF_4 PR_AD_1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 9      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 63     1     1     1     1     1     1       1       1       1       1       1
## 5      1     1     1     1     1     1       1       1       1       1       1
## 3      1     1     1     1     1     1       1       1       1       1       1
## 3      1     1     1     1     1     1       1       1       1       1       1
## 12     1     1     1     1     1     1       1       1       1       1       1
## 5      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 4      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 2      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       1
## 1      1     1     1     1     1     1       1       1       1       1       0
## 1      1     1     1     1     1     1       0       0       0       0       1
## 1      0     0     0     0     0     0       1       1       1       1       1
##        1     1     1     1     1     1       1       1       1       1       1
##    PR_AD_3 PR_AD_5 PR_AD_7 PR_SR_1 PR_SR_2 PR_SR_3 PR_SR_4 PR_PI_1 PR_PI_2
## 1        1       1       1       1       1       1       1       1       1
## 9        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 63       1       1       1       1       1       1       1       1       1
## 5        1       1       1       1       1       1       1       1       1
## 3        1       1       1       1       1       1       1       1       1
## 3        1       1       1       1       1       1       1       1       1
## 12       1       1       1       1       1       1       1       1       1
## 5        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 4        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 2        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       0       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        1       1       1       1       1       1       1       1       1
## 1        0       0       1       0       0       0       0       0       0
##          1       1       1       1       1       1       1       1       1
##    PR_PI_3 PR_PI_4 PR_INT ANG_1 ANG_2 ANG_3 ANG_4 ANG_5 CSA_7 CSA_8 CSA_9
## 1        1       1      1     1     1     1     1     1     1     1     1
## 9        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 63       1       1      1     1     1     1     1     1     1     1     1
## 5        1       1      1     1     1     1     1     1     1     1     1
## 3        1       1      1     1     1     1     1     1     1     1     1
## 3        1       1      1     1     1     1     1     1     1     1     1
## 12       1       1      1     1     1     1     1     1     1     1     1
## 5        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 4        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 2        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     0     0
## 1        1       1      1     1     1     1     1     1     0     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        1       1      1     1     1     1     1     1     1     1     1
## 1        0       0      0     0     0     0     0     0     1     1     1
##          1       1      1     1     1     1     1     1     1     1     1
##    CSA_10 CSA_16 IEQ_1 IEQ_2 IEQ_4 IEQ_5 PCL5_1 PCL5_3 PCL5_4 RISC_1 RISC_2
## 1       1      1     1     1     1     1      1      1      1      1      1
## 9       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 63      1      1     1     1     1     1      1      1      1      1      1
## 5       1      1     1     1     1     1      1      1      1      1      1
## 3       1      1     1     1     1     1      1      1      1      1      1
## 3       1      1     1     1     1     1      1      1      1      1      1
## 12      1      1     1     1     1     1      1      1      1      1      1
## 5       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 4       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 2       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      0      0
## 1       1      1     0     0     0     0      1      1      1      1      1
## 1       1      0     1     1     1     1      1      1      1      1      1
## 1       0      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      1      1      1      1      1
## 1       1      1     1     1     1     1      0      0      0      1      1
##         1      1     1     1     1     1      1      1      1      1      1
##    RISC_3 RISC_4 RISC_5 RISC_6 RISC_7 RISC_8 RISC_9 RISC_10 RISC_11 SLESQ_11
## 1       1      1      1      1      1      1      1       1       1        1
## 9       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 63      1      1      1      1      1      1      1       1       1        1
## 5       1      1      1      1      1      1      1       1       1        1
## 3       1      1      1      1      1      1      1       1       1        1
## 3       1      1      1      1      1      1      1       1       1        1
## 12      1      1      1      1      1      1      1       1       1        1
## 5       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 4       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 2       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        0
## 1       0      0      0      0      0      0      0       0       0        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
## 1       1      1      1      1      1      1      1       1       1        1
##         1      1      1      1      1      1      1       1       1        1
##    INT...140 DSS_5 Q210 PR_AD_2 IEQ_3 PCL5_2 ESCA_1 ESCA_2 ESCA_3 ESCA_4 ESCA_5
## 1          1     1    1       1     1      1      1      1      1      1      1
## 9          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 63         1     1    1       1     1      1      1      1      1      1      1
## 5          1     1    1       1     1      1      1      1      1      1      1
## 3          1     1    1       1     1      1      1      1      1      1      1
## 3          1     1    1       1     1      1      1      1      1      1      1
## 12         1     1    1       1     1      1      1      1      1      1      1
## 5          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 4          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 2          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      0      1      1      1      1      1
## 1          1     1    1       1     0      1      1      1      1      1      1
## 1          1     1    1       0     1      1      1      1      1      1      1
## 2          1     1    0       1     1      1      1      1      1      1      1
## 1          1     0    1       1     1      1      1      1      1      1      1
## 1          0     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     0      1      0      0      0      0      0
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     1    1       0     1      1      1      1      1      1      1
## 1          1     1    1       1     1      1      1      1      1      1      1
## 1          1     0    1       1     1      0      0      0      0      0      0
##            1     2    2       2     2      2      2      2      2      2      2
##    ESCA_6 ESCA_7 ESCA_8 ESCA_9 ESCA_10 LSS_3 AGE GEN EDU EMP INS_1 INC
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 9       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 63      1      1      1      1       1     1   1   1   1   1     1   1
## 5       1      1      1      1       1     1   1   1   1   1     1   1
## 3       1      1      1      1       1     1   1   1   1   1     1   1
## 3       1      1      1      1       1     1   1   1   1   1     1   1
## 12      1      1      1      1       1     1   1   1   1   1     1   1
## 5       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 4       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 2       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   0   0   0   0     0   0
## 1       0      0      0      0       0     0   0   0   0   0     0   0
## 1       1      1      1      1       1     0   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       1      1      1      1       1     1   1   1   1   1     1   1
## 1       0      0      0      0       0     0   0   0   0   0     0   0
##         2      2      2      2       2     3   3   3   3   3     3   3
##    INT...154 IMM...155 ETHN LSS_1 LSS_10 LSS_8 LSS_11 INS_2 LSS_7 LSS_5 LSS_4
## 1          1         1    1     1      1     1      1     1     1     1     1
## 9          1         1    1     1      1     1      1     1     1     1     1
## 2          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 63         1         1    1     1      1     1      1     1     1     1     1
## 5          1         1    1     1      1     1      1     1     1     1     1
## 3          1         1    1     1      1     1      1     1     1     1     1
## 3          1         1    1     1      1     1      1     1     1     1     1
## 12         1         1    1     1      1     1      1     1     1     1     1
## 5          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     0
## 1          1         1    1     1      1     1      1     1     1     1     0
## 1          1         1    1     1      1     1      1     1     1     1     0
## 2          1         1    1     1      1     1      1     1     1     1     0
## 1          1         1    1     1      1     1      1     1     1     1     0
## 1          1         1    1     1      1     1      1     1     1     1     0
## 1          1         1    1     1      1     1      1     1     1     1     0
## 2          1         1    1     1      1     1      1     1     1     0     1
## 1          1         1    1     1      1     1      1     1     1     0     1
## 1          1         1    1     1      1     1      1     1     1     0     1
## 1          1         1    1     1      1     1      1     1     1     0     1
## 1          1         1    1     1      1     1      1     1     1     0     0
## 1          1         1    1     1      1     1      1     1     0     1     1
## 1          1         1    1     1      1     1      1     1     0     1     1
## 1          1         1    1     1      1     1      1     1     0     1     1
## 1          1         1    1     1      1     1      1     1     0     0     1
## 2          1         1    1     1      1     1      1     0     1     1     1
## 1          1         1    1     1      1     1      1     0     1     1     1
## 4          1         1    1     1      1     1      1     0     1     1     1
## 1          1         1    1     1      1     1      1     0     1     1     1
## 2          1         1    1     1      1     1      1     0     1     1     1
## 1          1         1    1     1      1     1      1     0     1     1     0
## 1          1         1    1     1      1     1      1     0     0     1     1
## 1          1         1    1     1      1     1      0     1     1     1     1
## 1          1         1    1     1      1     1      0     1     1     1     0
## 1          1         1    1     1      1     1      0     1     0     0     0
## 1          1         1    1     1      1     1      0     1     0     0     0
## 1          1         1    1     1      1     1      0     0     0     0     0
## 1          1         1    1     1      1     0      1     1     1     1     1
## 1          1         1    1     1      1     0      1     1     1     1     1
## 1          1         1    1     1      1     0      1     1     1     1     1
## 1          1         1    1     1      1     0      1     1     1     0     1
## 1          1         1    1     1      1     0      1     1     1     0     1
## 2          1         1    1     1      1     0      0     1     0     0     0
## 1          1         1    1     1      1     0      0     1     0     0     0
## 1          1         1    1     1      0     1      1     1     1     1     1
## 1          1         1    1     1      0     1      1     1     0     1     1
## 1          1         1    1     1      0     1      0     1     1     0     0
## 1          1         1    1     1      0     1      0     1     0     0     1
## 1          1         1    1     1      0     1      0     1     0     0     0
## 1          1         1    1     1      0     0      1     1     0     1     1
## 1          1         1    1     1      0     0      1     1     0     1     0
## 1          1         1    1     1      0     0      0     1     0     0     1
## 1          1         1    1     0      1     1      1     1     1     1     1
## 1          1         1    1     0      1     1      1     0     1     1     1
## 1          1         1    1     0      0     0      0     1     0     0     0
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 2          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     0      1     1      1     1     0     0     0
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          0         0    0     1      1     1      1     0     1     1     1
## 1          0         0    0     0      0     0      0     0     0     0     0
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      0     1     0     0     0
## 1          1         1    0     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     1      1     1      1     1     1     1     1
## 1          1         1    1     0      0     0      0     0     0     0     0
## 1          0         0    0     0      0     0      0     0     0     0     0
##            3         3    4     7     12    15     17    18    23    25    26
##    LSS_2 LocationLatitude LocationLongitude LSS_6 LSS_9 Q210_15_TEXT
## 1      1                1                 1     1     1            1
## 9      1                1                 1     1     1            1
## 2      1                1                 1     1     1            0
## 1      1                1                 1     1     1            0
## 63     1                1                 1     1     1            0
## 5      1                1                 1     1     0            0
## 3      1                1                 1     0     1            0
## 3      1                0                 0     1     1            1
## 12     1                0                 0     1     1            0
## 5      0                1                 1     1     1            0
## 1      0                1                 1     1     0            0
## 1      0                1                 1     0     0            1
## 1      0                0                 0     1     1            0
## 1      1                1                 1     1     1            1
## 1      1                1                 1     1     1            0
## 1      1                0                 0     1     0            0
## 2      0                1                 1     1     1            0
## 1      0                1                 1     1     0            1
## 1      0                1                 1     0     1            1
## 1      0                0                 0     1     1            0
## 2      1                1                 1     1     1            1
## 1      1                1                 1     1     1            0
## 1      1                1                 1     1     0            0
## 1      1                1                 1     1     0            0
## 1      1                1                 1     0     0            0
## 1      1                0                 0     0     1            0
## 1      0                1                 1     0     0            0
## 1      0                1                 1     0     0            0
## 1      0                1                 1     0     0            0
## 2      1                1                 1     1     1            1
## 1      1                1                 1     1     1            0
## 4      1                1                 1     1     1            0
## 1      1                0                 0     1     1            0
## 2      0                1                 1     1     1            0
## 1      0                1                 1     0     1            0
## 1      1                0                 0     0     1            1
## 1      1                1                 1     0     0            0
## 1      1                1                 1     0     0            1
## 1      1                1                 1     0     0            0
## 1      1                1                 1     0     0            0
## 1      1                1                 1     1     0            0
## 1      1                1                 1     1     1            0
## 1      1                1                 1     0     0            0
## 1      1                0                 0     1     1            0
## 1      1                1                 1     1     1            0
## 1      0                1                 1     1     1            0
## 2      1                1                 1     0     0            0
## 1      0                1                 1     0     0            0
## 1      1                0                 0     1     1            0
## 1      1                1                 1     0     0            0
## 1      0                0                 0     0     0            0
## 1      1                1                 1     0     1            0
## 1      1                1                 1     0     0            0
## 1      1                0                 0     0     1            0
## 1      1                1                 1     0     0            0
## 1      1                1                 1     1     0            0
## 1      0                1                 1     0     1            0
## 1      0                1                 1     1     1            0
## 1      0                1                 1     0     0            0
## 1      1                1                 1     1     1            0
## 1      1                0                 0     1     1            0
## 1      1                1                 1     1     1            0
## 2      1                1                 1     1     1            0
## 1      1                1                 1     1     1            0
## 1      0                1                 1     0     1            0
## 1      1                0                 0     1     1            0
## 1      1                0                 0     1     1            1
## 1      0                0                 0     0     0            0
## 1      1                1                 1     1     1            0
## 1      1                0                 0     0     0            0
## 1      1                1                 1     1     1            0
## 1      1                0                 0     1     1            0
## 1      1                1                 1     1     1            0
## 1      1                1                 1     1     1            0
## 1      0                1                 1     0     0            0
## 1      0                0                 0     0     0            0
##       29               32                32    33    34          155
##    IMM_4_TEXT...142 IMM_4_TEXT...156 ETHN_10_TEXT GEN_8_TEXT RecipientLastName
## 1                 1                1            1          1                 1
## 9                 0                0            0          0                 0
## 2                 1                1            0          0                 0
## 1                 0                1            0          0                 0
## 63                0                0            0          0                 0
## 5                 0                0            0          0                 0
## 3                 0                0            0          0                 0
## 3                 0                0            0          0                 0
## 12                0                0            0          0                 0
## 5                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 1                1            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 1                1            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          1                 0
## 4                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 1                0            1          0                 0
## 1                 0                0            1          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          1                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 2                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
## 1                 0                0            0          0                 0
##                 173              173          176        176               178
##    RecipientFirstName RecipientEmail ExternalReference EDU_11_TEXT     
## 1                   1              1                 1           1    0
## 9                   0              0                 0           0    9
## 2                   0              0                 0           0    8
## 1                   0              0                 0           0    9
## 63                  0              0                 0           0   10
## 5                   0              0                 0           0   11
## 3                   0              0                 0           0   11
## 3                   0              0                 0           0   11
## 12                  0              0                 0           0   12
## 5                   0              0                 0           0   11
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   10
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   14
## 2                   0              0                 0           0   12
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   14
## 2                   0              0                 0           0   10
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   10
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   15
## 2                   0              0                 0           0   10
## 1                   0              0                 0           0   10
## 4                   0              0                 0           0   11
## 1                   0              0                 0           0   13
## 2                   0              0                 0           0   12
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   15
## 1                   0              0                 0           0   16
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   13
## 2                   0              0                 0           0   17
## 1                   0              0                 0           0   18
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   14
## 1                   0              0                 0           0   19
## 1                   0              0                 0           0   15
## 1                   0              0                 0           0   17
## 1                   0              0                 0           0   16
## 1                   0              0                 0           0   16
## 1                   0              0                 0           0   16
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   20
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   11
## 2                   0              0                 0           0   11
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   17
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   32
## 1                   0              0                 0           0   48
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   19
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   13
## 1                   0              0                 0           0   11
## 1                   0              0                 0           0   12
## 1                   0              0                 0           0   25
## 1                   0              0                 0           0   76
##                   178            178               178         178 2166
write.csv(mice_out, file = "mice_out.csv")