#Cargamos la base de datos:
setwd("C:/Users/MICHELLE/OneDrive/Escritorio/Rstudio_prac") #fijando directorio

#install.packages("tidyverse")
library(tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
## ✔ ggplot2 3.3.6      ✔ purrr   0.3.4 
## ✔ tibble  3.1.8      ✔ dplyr   1.0.10
## ✔ tidyr   1.2.1      ✔ stringr 1.4.1 
## ✔ readr   2.1.2      ✔ forcats 0.5.2 
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
library(readxl)
data1 <- read_xlsx("C:/Users/MICHELLE/OneDrive/Escritorio/Rstudio_prac/Data para analizar con R.xlsx")
glimpse(data1)
## Rows: 406
## Columns: 484
## $ CountryOfAsylum                  <chr> "Chile", "Chile", "Chile", "Chile", "…
## $ MonitoringDate                   <dttm> 2021-06-03, 2021-05-30, 2021-05-26, …
## $ shortCBI                         <chr> "yesshort", "full", "full", "full", "…
## $ remoteorinperson                 <chr> "byphone", "byphone", "byphone", "byp…
## $ stafforpartner                   <chr> "socio", "socio", "socio", "socio", "…
## $ interviewstat                    <chr> "complete", "complete", "complete", "…
## $ relocationprog                   <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ nationality                      <chr> "venezuela", "venezuela", "venezuela"…
## $ crossedborder                    <chr> "yes", "yes", "yes", "yes", "yes", "y…
## $ leftresidence                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ notsafehere                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ DepartureDate                    <chr> NA, "2019", "2019", "2017 or earlier"…
## $ ArriveThiscountry                <chr> NA, "2020", "2019", "2017 or earlier"…
## $ TransportMethod_boat             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransportMethod_bus              <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1…
## $ TransportMethod_car              <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransportMethod_hitchHiking      <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransportMethod_other            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransportMethod_plane            <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0…
## $ TransportMethod_taxi             <dbl> 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0…
## $ TransportMethod_walk             <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1…
## $ TransitCountries_Argentina       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Bolivia         <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0…
## $ TransitCountries_Brazil          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Canada          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Chile           <dbl> 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0…
## $ TransitCountries_Colombia        <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1…
## $ TransitCountries_Cuba            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Ecuador         <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1…
## $ TransitCountries_Nicaragua       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_other           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Panama          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Paraguay        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Peru            <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1…
## $ TransitCountries_Uruguay         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ TransitCountries_Venezuela       <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0…
## $ intentionmove                    <chr> "stay", "stay", "stay", "relocate", "…
## $ stayhowlong                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ Intention                        <chr> NA, NA, NA, "othercountry", NA, NA, N…
## $ reasonsreturn_discrim            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_familyleft         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0…
## $ reasonsreturn_houseloss          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_jobloss            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_nodocs             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_nomeds             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasonsreturn_violence           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ intentionspctr                   <chr> NA, NA, NA, "Mexico", NA, NA, NA, NA,…
## $ groupsize                        <dbl> 5, NA, 3, 1, 1, 4, 3, 1, 8, 5, 2, 4, …
## $ TotalAdult                       <dbl> 3, NA, 2, 1, 1, 3, 3, 1, 6, 3, 2, 2, …
## $ TotalAdultFemale                 <dbl> 1, 2, 1, 1, 1, 2, NA, 1, 4, 2, 1, 1, …
## $ TotalAdultMale                   <dbl> 2, 2, 1, 0, 0, 1, 1, 0, 2, 1, 1, 1, 1…
## $ TotalMinor                       <dbl> 2, NA, 1, 0, 0, 1, 0, 0, 2, 2, 0, 2, …
## $ TotalMinorFemale                 <dbl> 2, 0, 0, NA, NA, 1, NA, NA, 1, 2, NA,…
## $ TotalMinorMale                   <dbl> 0, 3, 1, NA, NA, 0, NA, NA, 1, 0, NA,…
## $ Childinschool                    <chr> NA, "yes", "yes", NA, NA, NA, NA, NA,…
## $ Childvirtualed                   <chr> NA, "no", "yes", NA, NA, NA, NA, NA, …
## $ Childwhynotschool_childwork      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_disability     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_discrimethnic  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_discrimnation  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_disease        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_failedschool   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_fearschool     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_finished       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_helphome       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_intransit      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_nodocs         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_noinfo         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_nointerest     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_nolanguage     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_nomoney        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_noschools      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_nospot         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_notransport    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_other          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_pregnancy      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_recentlyarrive <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Childwhynotschool_toolate        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ childbirthreg                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ SpecificNeeds_none               <dbl> NA, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, …
## $ ethnicity                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ disabilityacc_disabilityserv     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_docacc             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_houselimit         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_none               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_privins            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_publicins          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_pubspaces          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_transport          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ disabilityacc_worklimit          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ FamiliyLeft                      <chr> NA, "no", "no", "yes", "yes", "yes", …
## $ householdLeftbehind              <dbl> NA, NA, NA, 2, 4, 2, 1, NA, 4, 5, 5, …
## $ reasons_stayed_border_close      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_care_property     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_caring_dependant  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ reasons_stayed_continued         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_dont_know         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_health_prob       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ reasons_stayed_lack_docs         <dbl> 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0…
## $ reasons_stayed_lack_funds        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0…
## $ reasons_stayed_notell            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_old_age           <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ reasons_stayed_other             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_returned          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_security          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0…
## $ reasons_stayed_stayed            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_othercountry      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ reasons_stayed_work_study        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ minorsleft                       <chr> NA, NA, NA, "no", "no", "no", "no", N…
## $ prevdeport_none                  <dbl> 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1…
## $ prevdeport_yesdeport             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ prevdeport_yesForcedreturn       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ prevdeport_yesRefusedentry       <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_Argentina          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Bolivia            <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_Brazil             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Chile              <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_Colombia           <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_CostaRica          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Cuba               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Curacao            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Ecuador            <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_Guatemala          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Honduras           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Mexico             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Panama             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Peru               <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ deportCountry_Suriname           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_USA                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportCountry_Venezuela          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ RouteIncident                    <chr> NA, "yes", "yes", "no", "yes", "no", …
## $ RouteIncidentType_abduction      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ RouteIncidentType_arrest         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_bribery        <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ RouteIncidentType_confine        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_deportation    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_despojo        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_destructProp   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_displaced      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_eviction       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_evictionthreat <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_Exploitsex     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_Exploitwork    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_ForceDisappear <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_ForcedRecruit  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_fraud          <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_homicide       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_notell         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentType_other          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0…
## $ RouteIncidentType_physAssault    <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1…
## $ RouteIncidentType_sexualAssault  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ RouteIncidentType_theft          <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0…
## $ RouteIncidentType_threat         <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1…
## $ RouteIncidentType_torture        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentnotdisplaced        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ RouteIncidentTypenodisp_abduct   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_arrest   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_bribery  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_deportat <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_destrPro <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_eviction <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_evicthr  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_Explsex  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_Explwork <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_fraud    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_homicide <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_other    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_physAss  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_sexAss   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_theft    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RouteIncidentTypenodisp_threat   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ homicide_asylum                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ homicide_orgin                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ homicide_othercity               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ homicide_trip                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ physicalAssault_asylum           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ physicalAssault_orgin            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ physicalAssault_othercity        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ physicalAssault_trip             <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1…
## $ sexualAssault_asylum             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ sexualAssault_orgin              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ sexualAssault_othercity          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ sexualAssault_trip               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ abductionORkidnapping_asylum     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ abductionORkidnapping_orgin      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ abductionORkidnapping_othercity  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ abductionORkidnapping_trip       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ exploitationsex_asylum           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationsex_orgin            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationsex_othercity        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationwork_asylum          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationwork_orgin           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationwork_othercity       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ exploitationwork_trip            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ arrestORdetention_asylum         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ arrestORdetention_orgin          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ arrestORdetention_othercity      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ arrestORdetention_trip           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ threat_asylum                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ threat_orgin                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ threat_othercity                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ threat_trip                      <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1…
## $ fraud_asylum                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ fraud_orgin                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ fraud_othercity                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ fraud_trip                       <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0…
## $ theft_asylum                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ theft_orgin                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ theft_othercity                  <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0…
## $ theft_preferNot                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ theft_trip                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0…
## $ eviction_asylum                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ eviction_orgin                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ eviction_othercity               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ eviction_preferNot               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ eviction_trip                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ evictionthreat_asylum            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ evictionthreat_orgin             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ evictionthreat_othercity         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ evictionthreat_trip              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportation_asylum               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportation_orgin                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportation_preferNot            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ deportation_trip                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ destructionProperty_asylum       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ destructionProperty_orgin        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ destructionProperty_othercity    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ destructionProperty_trip         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ dispossetion_asylum              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ dispossetion_orgin               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ dispossetion_othercity           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ dispossetion_trip                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ forceddisplaced_asylum           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ forceddisplaced_orgin            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ forceddisplaced_othercity        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ forceddisplaced_trip             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ confined_asylum                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ confined_orgin                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ confined_othercity               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskYes                          <chr> NA, "Agree", "Undecided", "Agree", "A…
## $ RiskReturn_armedgroup            <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1…
## $ RiskReturn_assaulted             <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0…
## $ RiskReturn_extorsion             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ RiskReturn_healthrisk            <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0…
## $ RiskReturn_insecurity            <dbl> 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0…
## $ RiskReturn_lackfood              <dbl> 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0…
## $ RiskReturn_medical               <dbl> 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0…
## $ RiskReturn_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskReturn_recruited             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ RiskReturn_riskPreferNot         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskReturn_subsistence           <dbl> 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0…
## $ RiskReturn_threat                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskReturn_violence              <dbl> 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1…
## $ RiskYesStay                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ RiskStay_armedgroup              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_assaulted               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_extorsion               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_healthrisk              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_insecurity              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_lackfood                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_medical                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_other                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_recruited               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_subsistence             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_threat                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RiskStay_violence                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ documentation_birthcertif        <dbl> 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1…
## $ documentation_id                 <dbl> 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1…
## $ documentation_idexp              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ documentation_none               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ documentation_notell             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ documentation_other              <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ documentation_passport           <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1…
## $ documentation_passportexp        <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0…
## $ RegularEntry                     <chr> NA, "no", "yes", "yes", "no", "yes", …
## $ AppliedRefugee                   <chr> NA, "yes", "no", "no", "no", NA, "no"…
## $ Appliedrejected                  <chr> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ AppliedRefugeeIDP                <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ NotAsylum_costs                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_distance               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_lack_of_docume         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_lack_of_inform         <dbl> 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_lack_time              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_not_allowed_in         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ NotAsylum_other                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ docResidence                     <chr> "irregular", "irregular", "visareside…
## $ medicalAttention                 <chr> NA, "yes", "yes", "yes", "couldnotgo"…
## $ medicalType_center               <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0…
## $ medicalType_clinic               <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0…
## $ medicalType_hospital             <dbl> 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0…
## $ medicalType_other                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicalReceived                  <chr> NA, "Agree", "Agree", "Agree", NA, "S…
## $ whynotMedical_denied             <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ whynotMedical_distance           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_feararrested       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_noID               <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0…
## $ whynotMedical_noinfo             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_noinsurance        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_nomoney            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_notavailable       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ whynotMedical_other              <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_couple          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_famfriend       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_ngos            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_none            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_noOne           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_notell          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_other           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_religious       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_stateresource   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ mentalhealthsymp_unorgs          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ pressneeds                       <chr> "docs", "docs", "none", "none", "cope…
## $ ConsentScore                     <chr> "yes", "yes", "yes", "yes", "yes", "y…
## $ housingtype                      <chr> "Rental", "Owned", "RoomRent", "other…
## $ water                            <chr> "TapNetLess2", "PipedPlot", "TapNetMo…
## $ bathroom                         <chr> "Private_toilet", "Private_toilet", "…
## $ electricity                      <chr> "yes", "yes", "yes", "yes", "yes", "y…
## $ mealsperday                      <chr> "threeOrmore", "threeOrmore", "threeO…
## $ AbleBodied                       <dbl> 3, 5, 2, 1, 1, 2, 3, 1, 6, 3, 2, 2, 3…
## $ dependencyRatio                  <chr> "0.6", "0.714285714", "0.666666667", …
## $ dependencyCategory               <chr> "low", "low", "low", "low", "low", "a…
## $ jobbefore                        <chr> NA, "services", "services", "independ…
## $ jobafter                         <chr> NA, "informal", "informal", "formal",…
## $ employmentOpp                    <chr> "twothree", "twothree", "fivesix", "a…
## $ incomesoles                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ headof                           <chr> "other", "other", "other", "yes", "ye…
## $ ageRange                         <chr> NA, NA, NA, "36-59", "36-59", NA, NA,…
## $ Sex                              <chr> NA, NA, NA, "female", "female", NA, N…
## $ maritalStatus                    <chr> NA, NA, NA, NA, "other", NA, NA, "sin…
## $ ageRangeother                    <chr> "22-35", "36-59", "36-59", NA, NA, "3…
## $ Sexother                         <chr> "male", "male", "male", NA, NA, "male…
## $ maritalStatusother               <chr> "married", "married", "married", NA, …
## $ SocialBenefit_communities        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefit_gvt                <dbl> 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefit_ngo                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefit_none               <dbl> 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1…
## $ SocialBenefit_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefit_religious          <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_cash           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_education      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_foodbag        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_foodcard       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_foodkit        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_foodration     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_housing        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_hygiene        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_livelihood     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_med            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_medical        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_other          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_pss            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_psych          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitType_relocate       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitGov_auxdoenca       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitGov_auxilio         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitGov_bolsa           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitGov_BPC             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ SocialBenefitGov_other           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_aidAgency       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ CopingMechanism1_aidHost         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1…
## $ CopingMechanism1_borrowMoney     <dbl> 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0…
## $ CopingMechanism1_changedShelter  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_familySupport   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_limitAdultFood  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ CopingMechanism1_none            <dbl> 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0…
## $ CopingMechanism1_notell          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_other           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_reducedFood     <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1…
## $ CopingMechanism1_reduceExp       <dbl> 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1…
## $ CopingMechanism1_sellAssets      <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism1_skippedRent     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1…
## $ CopingMechanism1_useSavings      <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0…
## $ CopingMechanism1_workFood        <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1…
## $ CopingMechanism2_beg             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_childmarriage   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_foodscrap       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_none            <dbl> 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1…
## $ CopingMechanism2_notell          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_other           <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_sendchild       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_survivalsex     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ CopingMechanism2_workchild       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ FeelSafe                         <chr> "Agree", "StronglyDisagree", "Agree",…
## $ Isolation                        <chr> "Disagree", "StronglyAgree", "Disagre…
## $ IsoltaionPTA                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ Discriminated                    <chr> "Disagree", "Disagree", "Disagree", "…
## $ DiscriminatedPTA                 <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ DiscriminatedReasons_age         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_disability  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_ethnictiy   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_female      <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_gender      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_male        <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_nationality <dbl> 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0…
## $ DiscriminatedReasons_other       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ DiscriminatedReasons_religion    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Interaction                      <chr> "positive", "positive", "positive", "…
## $ InteractionPTA                   <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ communication                    <chr> "veryeasy", "verydifficult", "easy", …
## $ covidimpact_amenaza              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_amenazadesa          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_corteserv            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_desalojo             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_deuda                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_educlimitada         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_noneimp              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_otherimp             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_saludfisica          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_saludmental1         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ covidimpact_saludmental2         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ riskeviction                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ razon_riesgo_autoridades         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ razon_riesgo_no_pago             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ razon_riesgo_other               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ razon_riesgo_propietarioa        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ razon_riesgo_vencio_plazo        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_acuerdoarren             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_asistlegal               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_extension                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_mudarhost                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_mudartemp                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_nonem                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_otherm                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_prestamo                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ measure_regresopai               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ protarrendatario                 <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ probconvivencia_cargadomes       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ probconvivencia_conflictos       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ probconvivencia_ninosdif         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ probconvivencia_noseguro         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ probconvivencia_parejadif        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ probconvivencia_sinProblema      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ ViolenciaAumenta                 <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ RazonViolenciaAumenta_aislamien  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_dependen   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_economi    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_estres     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_justicia   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_otroViol   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonViolenciaAumenta_serviciGBV <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_actividadeco   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_ahorro         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_apoyocomm      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_apoyohuman     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_nosource       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_othersource    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_remesas        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ income4basicneeds_venderbienes   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ workchanged                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ workchangedhow_aumentoHoras      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ workchangedhow_aumentoTrabajo    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ workchangedhow_negocio           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ workchangedhow_otroLaboral       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ timecoverneeds                   <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ kidscanschool                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ kidscannotschool_noMatCupo       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscannotschool_noMatRec        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscannotschool_otroEduc        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscannotschool_sinRecuros      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscanschoolhow_downloadplat    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscanschoolhow_interactplat    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscanschoolhow_materialsdeliv  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscanschoolhow_materialswhats  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ kidscanschoolhow_radioortv       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ internetaccess                   <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ ICmedicalAttention               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ medicowhat_atenpsicosoc          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicowhat_enfercronicas         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicowhat_otronoC19             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicowhat_prenatalpediatrico    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicowhat_pruebaC19             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ medicowhat_tratamientoC19        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RecibioAsistMed                  <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ RazonFaltaAsistMed_atencionNegad <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_atencionSusp  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_FaltaIF       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_FaltaInfo     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_faltaRecursos <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_FaltaSegMed   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ RazonFaltaAsistMed_otroAtMed     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
## $ Weight                           <dbl> 3.186885e+14, 3.186885e+14, 3.186885e…
## $ ID                               <dbl> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12…
#Cargamos la base de datos:
library(rio)
data=import("Data para analizar con R.xlsx")
#Instalar Janitor
#install.packages("janitor")
library(janitor) #para limpieza de data
## 
## Attaching package: 'janitor'
## The following objects are masked from 'package:stats':
## 
##     chisq.test, fisher.test
# Limpiar nombres de columnas
data2 <- clean_names(data1) #limpiar las etiquetas (quitandole comillas, espacios, etc.)
glimpse(data2)
## Rows: 406
## Columns: 484
## $ country_of_asylum                    <chr> "Chile", "Chile", "Chile", "Chile…
## $ monitoring_date                      <dttm> 2021-06-03, 2021-05-30, 2021-05-…
## $ short_cbi                            <chr> "yesshort", "full", "full", "full…
## $ remoteorinperson                     <chr> "byphone", "byphone", "byphone", …
## $ stafforpartner                       <chr> "socio", "socio", "socio", "socio…
## $ interviewstat                        <chr> "complete", "complete", "complete…
## $ relocationprog                       <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ nationality                          <chr> "venezuela", "venezuela", "venezu…
## $ crossedborder                        <chr> "yes", "yes", "yes", "yes", "yes"…
## $ leftresidence                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ notsafehere                          <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ departure_date                       <chr> NA, "2019", "2019", "2017 or earl…
## $ arrive_thiscountry                   <chr> NA, "2020", "2019", "2017 or earl…
## $ transport_method_boat                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_bus                 <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ transport_method_car                 <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_hitch_hiking        <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_other               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_plane               <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ transport_method_taxi                <dbl> 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ transport_method_walk                <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ transit_countries_argentina          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_bolivia            <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ transit_countries_brazil             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_canada             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_chile              <dbl> 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, …
## $ transit_countries_colombia           <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ transit_countries_cuba               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_ecuador            <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, …
## $ transit_countries_nicaragua          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_panama             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_paraguay           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_peru               <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, …
## $ transit_countries_uruguay            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_venezuela          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ intentionmove                        <chr> "stay", "stay", "stay", "relocate…
## $ stayhowlong                          <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ intention                            <chr> NA, NA, NA, "othercountry", NA, N…
## $ reasonsreturn_discrim                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_familyleft             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, …
## $ reasonsreturn_houseloss              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_jobloss                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_nodocs                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_nomeds                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_other                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_violence               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ intentionspctr                       <chr> NA, NA, NA, "Mexico", NA, NA, NA,…
## $ groupsize                            <dbl> 5, NA, 3, 1, 1, 4, 3, 1, 8, 5, 2,…
## $ total_adult                          <dbl> 3, NA, 2, 1, 1, 3, 3, 1, 6, 3, 2,…
## $ total_adult_female                   <dbl> 1, 2, 1, 1, 1, 2, NA, 1, 4, 2, 1,…
## $ total_adult_male                     <dbl> 2, 2, 1, 0, 0, 1, 1, 0, 2, 1, 1, …
## $ total_minor                          <dbl> 2, NA, 1, 0, 0, 1, 0, 0, 2, 2, 0,…
## $ total_minor_female                   <dbl> 2, 0, 0, NA, NA, 1, NA, NA, 1, 2,…
## $ total_minor_male                     <dbl> 0, 3, 1, NA, NA, 0, NA, NA, 1, 0,…
## $ childinschool                        <chr> NA, "yes", "yes", NA, NA, NA, NA,…
## $ childvirtualed                       <chr> NA, "no", "yes", NA, NA, NA, NA, …
## $ childwhynotschool_childwork          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_disability         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_discrimethnic      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_discrimnation      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_disease            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_failedschool       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_fearschool         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_finished           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_helphome           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_intransit          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nodocs             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_noinfo             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nointerest         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nolanguage         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nomoney            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_noschools          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nospot             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_notransport        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_pregnancy          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_recentlyarrive     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_toolate            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childbirthreg                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ specific_needs_none                  <dbl> NA, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0,…
## $ ethnicity                            <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ disabilityacc_disabilityserv         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_docacc                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_houselimit             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_none                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_privins                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_publicins              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_pubspaces              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_transport              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_worklimit              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ familiy_left                         <chr> NA, "no", "no", "yes", "yes", "ye…
## $ household_leftbehind                 <dbl> NA, NA, NA, 2, 4, 2, 1, NA, 4, 5,…
## $ reasons_stayed_border_close          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_care_property         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_caring_dependant      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_continued             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_dont_know             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_health_prob           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_lack_docs             <dbl> 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, …
## $ reasons_stayed_lack_funds            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, …
## $ reasons_stayed_notell                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_old_age               <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_returned              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_security              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, …
## $ reasons_stayed_stayed                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_othercountry          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_work_study            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ minorsleft                           <chr> NA, NA, NA, "no", "no", "no", "no…
## $ prevdeport_none                      <dbl> 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, …
## $ prevdeport_yesdeport                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ prevdeport_yes_forcedreturn          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ prevdeport_yes_refusedentry          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_argentina             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_bolivia               <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_brazil                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_chile                 <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_colombia              <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_costa_rica            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_cuba                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_curacao               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_ecuador               <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_guatemala             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_honduras              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_mexico                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_panama                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_peru                  <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_suriname              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_usa                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_venezuela             <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident                       <chr> NA, "yes", "yes", "no", "yes", "n…
## $ route_incident_type_abduction        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_arrest           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_bribery          <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_confine          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_deportation      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_despojo          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_destruct_prop    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_displaced        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_eviction         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_evictionthreat   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_exploitsex       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_exploitwork      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_force_disappear  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_forced_recruit   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_fraud            <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_homicide         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_notell           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_other            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_phys_assault     <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident_type_sexual_assault   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ route_incident_type_theft            <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, …
## $ route_incident_type_threat           <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident_type_torture          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incidentnotdisplaced           <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ route_incident_typenodisp_abduct     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_arrest     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_bribery    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_deportat   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_destr_pro  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_eviction   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_evicthr    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_explsex    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_explwork   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_fraud      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_homicide   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_other      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_phys_ass   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_sex_ass    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_theft      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_threat     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_trip                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_asylum              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_orgin               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_othercity           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_trip                <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ sexual_assault_asylum                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_orgin                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_othercity             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_trip                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ abduction_o_rkidnapping_asylum       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_orgin        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_othercity    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_trip         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_asylum               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_orgin                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_othercity            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_asylum              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_orgin               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_othercity           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_trip                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_asylum           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_orgin            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_othercity        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_trip             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_asylum                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_orgin                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_othercity                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_trip                          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ fraud_asylum                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_orgin                          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_othercity                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_trip                           <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ theft_asylum                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_orgin                          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_othercity                      <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ theft_prefer_not                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_trip                           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ eviction_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_prefer_not                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_trip                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_asylum                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_orgin                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_othercity             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_trip                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_asylum                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_orgin                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_prefer_not               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_trip                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_asylum          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_orgin           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_othercity       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_trip            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_asylum                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_orgin                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_othercity               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_trip                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_asylum               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_orgin                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_othercity            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_trip                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_yes                             <chr> NA, "Agree", "Undecided", "Agree"…
## $ risk_return_armedgroup               <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, …
## $ risk_return_assaulted                <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ risk_return_extorsion                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_healthrisk               <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, …
## $ risk_return_insecurity               <dbl> 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, …
## $ risk_return_lackfood                 <dbl> 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, …
## $ risk_return_medical                  <dbl> 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, …
## $ risk_return_other                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_recruited                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ risk_return_risk_prefer_not          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_subsistence              <dbl> 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ risk_return_threat                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_violence                 <dbl> 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, …
## $ risk_yes_stay                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ risk_stay_armedgroup                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_assaulted                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_extorsion                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_healthrisk                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_insecurity                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_lackfood                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_medical                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_other                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_recruited                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_subsistence                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_threat                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_violence                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_birthcertif            <dbl> 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, …
## $ documentation_id                     <dbl> 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, …
## $ documentation_idexp                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_none                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_notell                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_other                  <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_passport               <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, …
## $ documentation_passportexp            <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, …
## $ regular_entry                        <chr> NA, "no", "yes", "yes", "no", "ye…
## $ applied_refugee                      <chr> NA, "yes", "no", "no", "no", NA, …
## $ appliedrejected                      <chr> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ applied_refugee_idp                  <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ not_asylum_costs                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_distance                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_of_docume            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_of_inform            <dbl> 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_time                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_not_allowed_in            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_other                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ doc_residence                        <chr> "irregular", "irregular", "visare…
## $ medical_attention                    <chr> NA, "yes", "yes", "yes", "couldno…
## $ medical_type_center                  <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, …
## $ medical_type_clinic                  <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, …
## $ medical_type_hospital                <dbl> 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ medical_type_other                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medical_received                     <chr> NA, "Agree", "Agree", "Agree", NA…
## $ whynot_medical_denied                <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ whynot_medical_distance              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_feararrested          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_no_id                 <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, …
## $ whynot_medical_noinfo                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_noinsurance           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_nomoney               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_notavailable          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_other                 <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ mentalhealthsymp_couple              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_famfriend           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_ngos                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_none                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_no_one              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_notell              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_other               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_religious           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_stateresource       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_unorgs              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ pressneeds                           <chr> "docs", "docs", "none", "none", "…
## $ consent_score                        <chr> "yes", "yes", "yes", "yes", "yes"…
## $ housingtype                          <chr> "Rental", "Owned", "RoomRent", "o…
## $ water                                <chr> "TapNetLess2", "PipedPlot", "TapN…
## $ bathroom                             <chr> "Private_toilet", "Private_toilet…
## $ electricity                          <chr> "yes", "yes", "yes", "yes", "yes"…
## $ mealsperday                          <chr> "threeOrmore", "threeOrmore", "th…
## $ able_bodied                          <dbl> 3, 5, 2, 1, 1, 2, 3, 1, 6, 3, 2, …
## $ dependency_ratio                     <chr> "0.6", "0.714285714", "0.66666666…
## $ dependency_category                  <chr> "low", "low", "low", "low", "low"…
## $ jobbefore                            <chr> NA, "services", "services", "inde…
## $ jobafter                             <chr> NA, "informal", "informal", "form…
## $ employment_opp                       <chr> "twothree", "twothree", "fivesix"…
## $ incomesoles                          <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ headof                               <chr> "other", "other", "other", "yes",…
## $ age_range                            <chr> NA, NA, NA, "36-59", "36-59", NA,…
## $ sex                                  <chr> NA, NA, NA, "female", "female", N…
## $ marital_status                       <chr> NA, NA, NA, NA, "other", NA, NA, …
## $ age_rangeother                       <chr> "22-35", "36-59", "36-59", NA, NA…
## $ sexother                             <chr> "male", "male", "male", NA, NA, "…
## $ marital_statusother                  <chr> "married", "married", "married", …
## $ social_benefit_communities           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gvt                   <dbl> 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ social_benefit_ngo                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_none                  <dbl> 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, …
## $ social_benefit_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_religious             <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_cash             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_education        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodbag          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodcard         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodkit          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodration       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_housing          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_hygiene          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_livelihood       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_med              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_medical          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_other            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_pss              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_psych            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_relocate         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_auxdoenca         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_auxilio           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_bolsa             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_bpc               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_other             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_aid_agency         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_aid_host           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_borrow_money       <dbl> 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, …
## $ coping_mechanism1_changed_shelter    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_family_support     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_limit_adult_food   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ coping_mechanism1_none               <dbl> 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ coping_mechanism1_notell             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_reduced_food       <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, …
## $ coping_mechanism1_reduce_exp         <dbl> 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, …
## $ coping_mechanism1_sell_assets        <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_skipped_rent       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, …
## $ coping_mechanism1_use_savings        <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, …
## $ coping_mechanism1_work_food          <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, …
## $ coping_mechanism2_beg                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_childmarriage      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_foodscrap          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_none               <dbl> 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, …
## $ coping_mechanism2_notell             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_other              <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_sendchild          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_survivalsex        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_workchild          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ feel_safe                            <chr> "Agree", "StronglyDisagree", "Agr…
## $ isolation                            <chr> "Disagree", "StronglyAgree", "Dis…
## $ isoltaion_pta                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ discriminated                        <chr> "Disagree", "Disagree", "Disagree…
## $ discriminated_pta                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ discriminated_reasons_age            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_disability     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_ethnictiy      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_female         <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ discriminated_reasons_gender         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_male           <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ discriminated_reasons_nationality    <dbl> 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ discriminated_reasons_other          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_religion       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ interaction                          <chr> "positive", "positive", "positive…
## $ interaction_pta                      <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ communication                        <chr> "veryeasy", "verydifficult", "eas…
## $ covidimpact_amenaza                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_amenazadesa              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_corteserv                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_desalojo                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_deuda                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_educlimitada             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_noneimp                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_otherimp                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludfisica              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludmental1             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludmental2             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ riskeviction                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ razon_riesgo_autoridades             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_no_pago                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_other                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_propietarioa            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_vencio_plazo            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_acuerdoarren                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_asistlegal                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_extension                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_mudarhost                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_mudartemp                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_nonem                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_otherm                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_prestamo                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_regresopai                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ protarrendatario                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ probconvivencia_cargadomes           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_conflictos           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_ninosdif             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_noseguro             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_parejadif            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_sin_problema         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ violencia_aumenta                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ razon_violencia_aumenta_aislamien    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_dependen     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_economi      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_estres       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_justicia     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_otro_viol    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_servici_gbv  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_actividadeco       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_ahorro             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_apoyocomm          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_apoyohuman         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_nosource           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_othersource        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_remesas            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_venderbienes       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchanged                          <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ workchangedhow_aumento_horas         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_aumento_trabajo       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_negocio               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_otro_laboral          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ timecoverneeds                       <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ kidscanschool                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ kidscannotschool_no_mat_cupo         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_no_mat_rec          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_otro_educ           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_sin_recuros         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_downloadplat        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_interactplat        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_materialsdeliv      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_materialswhats      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_radioortv           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ internetaccess                       <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ i_cmedical_attention                 <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ medicowhat_atenpsicosoc              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_enfercronicas             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_otrono_c19                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_prenatalpediatrico        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_prueba_c19                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_tratamiento_c19           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ recibio_asist_med                    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ razon_falta_asist_med_atencion_negad <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_atencion_susp  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_if       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_info     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_recursos <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_seg_med  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_otro_at_med    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ weight                               <dbl> 3.186885e+14, 3.186885e+14, 3.186…
## $ id                                   <dbl> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11…
# Eliminar columnas vacias
data3 <- remove_empty(data2, quiet = FALSE) #eliminar variables vacias
## value for "which" not specified, defaulting to c("rows", "cols")
## No empty rows to remove.
## Removing 22 empty columns of 484 columns total (Removed: relocationprog, leftresidence, notsafehere, stayhowlong, childbirthreg, ethnicity, route_incidentnotdisplaced, risk_yes_stay, applied_refugee_idp, incomesoles, isoltaion_pta, discriminated_pta, interaction_pta, riskeviction, protarrendatario, violencia_aumenta, workchanged, timecoverneeds, kidscanschool, internetaccess, i_cmedical_attention, recibio_asist_med).
glimpse(data3)
## Rows: 406
## Columns: 462
## $ country_of_asylum                    <chr> "Chile", "Chile", "Chile", "Chile…
## $ monitoring_date                      <dttm> 2021-06-03, 2021-05-30, 2021-05-…
## $ short_cbi                            <chr> "yesshort", "full", "full", "full…
## $ remoteorinperson                     <chr> "byphone", "byphone", "byphone", …
## $ stafforpartner                       <chr> "socio", "socio", "socio", "socio…
## $ interviewstat                        <chr> "complete", "complete", "complete…
## $ nationality                          <chr> "venezuela", "venezuela", "venezu…
## $ crossedborder                        <chr> "yes", "yes", "yes", "yes", "yes"…
## $ departure_date                       <chr> NA, "2019", "2019", "2017 or earl…
## $ arrive_thiscountry                   <chr> NA, "2020", "2019", "2017 or earl…
## $ transport_method_boat                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_bus                 <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ transport_method_car                 <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_hitch_hiking        <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_other               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transport_method_plane               <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ transport_method_taxi                <dbl> 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ transport_method_walk                <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ transit_countries_argentina          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_bolivia            <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ transit_countries_brazil             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_canada             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_chile              <dbl> 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, …
## $ transit_countries_colombia           <dbl> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ transit_countries_cuba               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_ecuador            <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, …
## $ transit_countries_nicaragua          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_panama             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_paraguay           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_peru               <dbl> 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, …
## $ transit_countries_uruguay            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ transit_countries_venezuela          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, …
## $ intentionmove                        <chr> "stay", "stay", "stay", "relocate…
## $ intention                            <chr> NA, NA, NA, "othercountry", NA, N…
## $ reasonsreturn_discrim                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_familyleft             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, …
## $ reasonsreturn_houseloss              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_jobloss                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_nodocs                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_nomeds                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_other                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasonsreturn_violence               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ intentionspctr                       <chr> NA, NA, NA, "Mexico", NA, NA, NA,…
## $ groupsize                            <dbl> 5, NA, 3, 1, 1, 4, 3, 1, 8, 5, 2,…
## $ total_adult                          <dbl> 3, NA, 2, 1, 1, 3, 3, 1, 6, 3, 2,…
## $ total_adult_female                   <dbl> 1, 2, 1, 1, 1, 2, NA, 1, 4, 2, 1,…
## $ total_adult_male                     <dbl> 2, 2, 1, 0, 0, 1, 1, 0, 2, 1, 1, …
## $ total_minor                          <dbl> 2, NA, 1, 0, 0, 1, 0, 0, 2, 2, 0,…
## $ total_minor_female                   <dbl> 2, 0, 0, NA, NA, 1, NA, NA, 1, 2,…
## $ total_minor_male                     <dbl> 0, 3, 1, NA, NA, 0, NA, NA, 1, 0,…
## $ childinschool                        <chr> NA, "yes", "yes", NA, NA, NA, NA,…
## $ childvirtualed                       <chr> NA, "no", "yes", NA, NA, NA, NA, …
## $ childwhynotschool_childwork          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_disability         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_discrimethnic      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_discrimnation      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_disease            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_failedschool       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_fearschool         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_finished           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_helphome           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_intransit          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nodocs             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_noinfo             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nointerest         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nolanguage         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nomoney            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_noschools          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_nospot             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_notransport        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_pregnancy          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_recentlyarrive     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ childwhynotschool_toolate            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ specific_needs_none                  <dbl> NA, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0,…
## $ disabilityacc_disabilityserv         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_docacc                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_houselimit             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_none                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_privins                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_publicins              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_pubspaces              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_transport              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ disabilityacc_worklimit              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ familiy_left                         <chr> NA, "no", "no", "yes", "yes", "ye…
## $ household_leftbehind                 <dbl> NA, NA, NA, 2, 4, 2, 1, NA, 4, 5,…
## $ reasons_stayed_border_close          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_care_property         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_caring_dependant      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_continued             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_dont_know             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_health_prob           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_lack_docs             <dbl> 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, …
## $ reasons_stayed_lack_funds            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, …
## $ reasons_stayed_notell                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_old_age               <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_returned              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_security              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, …
## $ reasons_stayed_stayed                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_othercountry          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ reasons_stayed_work_study            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ minorsleft                           <chr> NA, NA, NA, "no", "no", "no", "no…
## $ prevdeport_none                      <dbl> 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, …
## $ prevdeport_yesdeport                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ prevdeport_yes_forcedreturn          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ prevdeport_yes_refusedentry          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_argentina             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_bolivia               <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_brazil                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_chile                 <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_colombia              <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_costa_rica            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_cuba                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_curacao               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_ecuador               <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_guatemala             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_honduras              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_mexico                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_panama                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_peru                  <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ deport_country_suriname              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_usa                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deport_country_venezuela             <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident                       <chr> NA, "yes", "yes", "no", "yes", "n…
## $ route_incident_type_abduction        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_arrest           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_bribery          <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_confine          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_deportation      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_despojo          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_destruct_prop    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_displaced        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_eviction         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_evictionthreat   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_exploitsex       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_exploitwork      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_force_disappear  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_forced_recruit   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_fraud            <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_homicide         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_notell           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_other            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_type_phys_assault     <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident_type_sexual_assault   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ route_incident_type_theft            <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, …
## $ route_incident_type_threat           <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ route_incident_type_torture          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_abduct     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_arrest     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_bribery    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_deportat   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_destr_pro  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_eviction   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_evicthr    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_explsex    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_explwork   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_fraud      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_homicide   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_other      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_phys_ass   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_sex_ass    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_theft      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ route_incident_typenodisp_threat     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ homicide_trip                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_asylum              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_orgin               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_othercity           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ physical_assault_trip                <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ sexual_assault_asylum                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_orgin                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_othercity             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ sexual_assault_trip                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ abduction_o_rkidnapping_asylum       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_orgin        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_othercity    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ abduction_o_rkidnapping_trip         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_asylum               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_orgin                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationsex_othercity            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_asylum              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_orgin               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_othercity           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ exploitationwork_trip                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_asylum           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_orgin            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_othercity        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ arrest_o_rdetention_trip             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_asylum                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_orgin                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_othercity                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ threat_trip                          <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ fraud_asylum                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_orgin                          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_othercity                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ fraud_trip                           <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ theft_asylum                         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_orgin                          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_othercity                      <dbl> 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ theft_prefer_not                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ theft_trip                           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ eviction_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_prefer_not                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ eviction_trip                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_asylum                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_orgin                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_othercity             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ evictionthreat_trip                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_asylum                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_orgin                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_prefer_not               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ deportation_trip                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_asylum          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_orgin           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_othercity       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ destruction_property_trip            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_asylum                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_orgin                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_othercity               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ dispossetion_trip                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_asylum               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_orgin                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_othercity            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ forceddisplaced_trip                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_asylum                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_orgin                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ confined_othercity                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_yes                             <chr> NA, "Agree", "Undecided", "Agree"…
## $ risk_return_armedgroup               <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, …
## $ risk_return_assaulted                <dbl> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ risk_return_extorsion                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_healthrisk               <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, …
## $ risk_return_insecurity               <dbl> 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, …
## $ risk_return_lackfood                 <dbl> 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, …
## $ risk_return_medical                  <dbl> 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, …
## $ risk_return_other                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_recruited                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ risk_return_risk_prefer_not          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_subsistence              <dbl> 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ risk_return_threat                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_return_violence                 <dbl> 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, …
## $ risk_stay_armedgroup                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_assaulted                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_extorsion                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_healthrisk                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_insecurity                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_lackfood                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_medical                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_other                      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_recruited                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_subsistence                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_threat                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ risk_stay_violence                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_birthcertif            <dbl> 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, …
## $ documentation_id                     <dbl> 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, …
## $ documentation_idexp                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_none                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_notell                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_other                  <dbl> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ documentation_passport               <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, …
## $ documentation_passportexp            <dbl> 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, …
## $ regular_entry                        <chr> NA, "no", "yes", "yes", "no", "ye…
## $ applied_refugee                      <chr> NA, "yes", "no", "no", "no", NA, …
## $ appliedrejected                      <chr> NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ not_asylum_costs                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_distance                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_of_docume            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_of_inform            <dbl> 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ not_asylum_lack_time                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_not_allowed_in            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ not_asylum_other                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ doc_residence                        <chr> "irregular", "irregular", "visare…
## $ medical_attention                    <chr> NA, "yes", "yes", "yes", "couldno…
## $ medical_type_center                  <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, …
## $ medical_type_clinic                  <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, …
## $ medical_type_hospital                <dbl> 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ medical_type_other                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medical_received                     <chr> NA, "Agree", "Agree", "Agree", NA…
## $ whynot_medical_denied                <dbl> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ whynot_medical_distance              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_feararrested          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_no_id                 <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, …
## $ whynot_medical_noinfo                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_noinsurance           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_nomoney               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_notavailable          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ whynot_medical_other                 <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ mentalhealthsymp_couple              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_famfriend           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_ngos                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_none                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_no_one              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_notell              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_other               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_religious           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_stateresource       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ mentalhealthsymp_unorgs              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ pressneeds                           <chr> "docs", "docs", "none", "none", "…
## $ consent_score                        <chr> "yes", "yes", "yes", "yes", "yes"…
## $ housingtype                          <chr> "Rental", "Owned", "RoomRent", "o…
## $ water                                <chr> "TapNetLess2", "PipedPlot", "TapN…
## $ bathroom                             <chr> "Private_toilet", "Private_toilet…
## $ electricity                          <chr> "yes", "yes", "yes", "yes", "yes"…
## $ mealsperday                          <chr> "threeOrmore", "threeOrmore", "th…
## $ able_bodied                          <dbl> 3, 5, 2, 1, 1, 2, 3, 1, 6, 3, 2, …
## $ dependency_ratio                     <chr> "0.6", "0.714285714", "0.66666666…
## $ dependency_category                  <chr> "low", "low", "low", "low", "low"…
## $ jobbefore                            <chr> NA, "services", "services", "inde…
## $ jobafter                             <chr> NA, "informal", "informal", "form…
## $ employment_opp                       <chr> "twothree", "twothree", "fivesix"…
## $ headof                               <chr> "other", "other", "other", "yes",…
## $ age_range                            <chr> NA, NA, NA, "36-59", "36-59", NA,…
## $ sex                                  <chr> NA, NA, NA, "female", "female", N…
## $ marital_status                       <chr> NA, NA, NA, NA, "other", NA, NA, …
## $ age_rangeother                       <chr> "22-35", "36-59", "36-59", NA, NA…
## $ sexother                             <chr> "male", "male", "male", NA, NA, "…
## $ marital_statusother                  <chr> "married", "married", "married", …
## $ social_benefit_communities           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gvt                   <dbl> 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, …
## $ social_benefit_ngo                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_none                  <dbl> 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, …
## $ social_benefit_other                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_religious             <dbl> 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_cash             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_education        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodbag          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodcard         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodkit          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_foodration       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_housing          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_hygiene          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_livelihood       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_med              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_medical          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_other            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_pss              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_psych            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_type_relocate         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_auxdoenca         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_auxilio           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_bolsa             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_bpc               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ social_benefit_gov_other             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_aid_agency         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_aid_host           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_borrow_money       <dbl> 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, …
## $ coping_mechanism1_changed_shelter    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_family_support     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_limit_adult_food   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, …
## $ coping_mechanism1_none               <dbl> 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, …
## $ coping_mechanism1_notell             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_other              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_reduced_food       <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, …
## $ coping_mechanism1_reduce_exp         <dbl> 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, …
## $ coping_mechanism1_sell_assets        <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism1_skipped_rent       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, …
## $ coping_mechanism1_use_savings        <dbl> 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, …
## $ coping_mechanism1_work_food          <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, …
## $ coping_mechanism2_beg                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_childmarriage      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_foodscrap          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_none               <dbl> 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, …
## $ coping_mechanism2_notell             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_other              <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_sendchild          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_survivalsex        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ coping_mechanism2_workchild          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ feel_safe                            <chr> "Agree", "StronglyDisagree", "Agr…
## $ isolation                            <chr> "Disagree", "StronglyAgree", "Dis…
## $ discriminated                        <chr> "Disagree", "Disagree", "Disagree…
## $ discriminated_reasons_age            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_disability     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_ethnictiy      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_female         <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ discriminated_reasons_gender         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_male           <dbl> 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, …
## $ discriminated_reasons_nationality    <dbl> 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, …
## $ discriminated_reasons_other          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ discriminated_reasons_religion       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ interaction                          <chr> "positive", "positive", "positive…
## $ communication                        <chr> "veryeasy", "verydifficult", "eas…
## $ covidimpact_amenaza                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_amenazadesa              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_corteserv                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_desalojo                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_deuda                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_educlimitada             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_noneimp                  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_otherimp                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludfisica              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludmental1             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ covidimpact_saludmental2             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_autoridades             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_no_pago                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_other                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_propietarioa            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_riesgo_vencio_plazo            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_acuerdoarren                 <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_asistlegal                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_extension                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_mudarhost                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_mudartemp                    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_nonem                        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_otherm                       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_prestamo                     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ measure_regresopai                   <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_cargadomes           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_conflictos           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_ninosdif             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_noseguro             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_parejadif            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ probconvivencia_sin_problema         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_aislamien    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_dependen     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_economi      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_estres       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_justicia     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_otro_viol    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_violencia_aumenta_servici_gbv  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_actividadeco       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_ahorro             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_apoyocomm          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_apoyohuman         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_nosource           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_othersource        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_remesas            <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ income4basicneeds_venderbienes       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_aumento_horas         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_aumento_trabajo       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_negocio               <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ workchangedhow_otro_laboral          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_no_mat_cupo         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_no_mat_rec          <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_otro_educ           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscannotschool_sin_recuros         <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_downloadplat        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_interactplat        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_materialsdeliv      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_materialswhats      <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ kidscanschoolhow_radioortv           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_atenpsicosoc              <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_enfercronicas             <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_otrono_c19                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_prenatalpediatrico        <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_prueba_c19                <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ medicowhat_tratamiento_c19           <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_atencion_negad <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_atencion_susp  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_if       <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_info     <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_recursos <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_falta_seg_med  <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ razon_falta_asist_med_otro_at_med    <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ weight                               <dbl> 3.186885e+14, 3.186885e+14, 3.186…
## $ id                                   <dbl> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11…
# Eliminar duplicados
library(dplyr)
data4 <- distinct(data3) #eliminar variables duplicadas
data4
## # A tibble: 406 × 462
##    country…¹ monitoring_date     short…² remot…³ staff…⁴ inter…⁵ natio…⁶ cross…⁷
##    <chr>     <dttm>              <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
##  1 Chile     2021-06-03 00:00:00 yessho… byphone socio   comple… venezu… yes    
##  2 Chile     2021-05-30 00:00:00 full    byphone socio   comple… venezu… yes    
##  3 Chile     2021-05-26 00:00:00 full    byphone socio   comple… venezu… yes    
##  4 Chile     2021-05-27 00:00:00 full    byphone socio   comple… venezu… yes    
##  5 Chile     2021-05-27 00:00:00 full    byphone socio   comple… venezu… yes    
##  6 Chile     2021-06-05 00:00:00 full    byphone socio   comple… venezu… yes    
##  7 Chile     2021-06-05 00:00:00 full    byphone socio   comple… venezu… yes    
##  8 Chile     2021-06-01 00:00:00 full    byphone socio   comple… venezu… yes    
##  9 Chile     2021-06-01 00:00:00 full    byphone socio   comple… venezu… yes    
## 10 Chile     2021-06-05 00:00:00 full    byphone socio   comple… venezu… yes    
## # … with 396 more rows, 454 more variables: departure_date <chr>,
## #   arrive_thiscountry <chr>, transport_method_boat <dbl>,
## #   transport_method_bus <dbl>, transport_method_car <dbl>,
## #   transport_method_hitch_hiking <dbl>, transport_method_other <dbl>,
## #   transport_method_plane <dbl>, transport_method_taxi <dbl>,
## #   transport_method_walk <dbl>, transit_countries_argentina <dbl>,
## #   transit_countries_bolivia <dbl>, transit_countries_brazil <dbl>, …
attach(data4)
#Categorias de edad
#age_range
#age_rangeother

library(tidyr)
#StringsAsFactor=F pues la funcion unite de tidyr no remueve los NA de factores
datita <- data.frame(age_range,age_rangeother,stringsAsFactors=F)
datita
##     age_range age_rangeother
## 1        <NA>          22-35
## 2        <NA>          36-59
## 3        <NA>          36-59
## 4       36-59           <NA>
## 5       36-59           <NA>
## 6        <NA>          36-59
## 7        <NA>          22-35
## 8        <NA>           <NA>
## 9        <NA>          36-59
## 10       <NA>          36-59
## 11       <NA>          36-59
## 12       <NA>          22-35
## 13       <NA>          36-59
## 14      36-59           <NA>
## 15       <NA>          22-35
## 16       <NA>           <NA>
## 17       <NA>          36-59
## 18      22-35           <NA>
## 19       <NA>          36-59
## 20       <NA>          36-59
## 21       <NA>          22-35
## 22      22-35           <NA>
## 23       <NA>          36-59
## 24      22-35           <NA>
## 25       <NA>          22-35
## 26      36-59           <NA>
## 27       <NA>           <NA>
## 28       <NA>          22-35
## 29       <NA>          36-59
## 30       <NA>          22-35
## 31      22-35           <NA>
## 32       <NA>          22-35
## 33      36-59           <NA>
## 34      36-59           <NA>
## 35       <NA>          22-35
## 36       <NA>           <NA>
## 37       <NA>          36-59
## 38      22-35           <NA>
## 39       <NA>           <NA>
## 40       <NA>          22-35
## 41       <NA>           <NA>
## 42      22-35           <NA>
## 43      22-35           <NA>
## 44      36-59           <NA>
## 45       <NA>          36-59
## 46       <NA>          22-35
## 47      36-59           <NA>
## 48      22-35           <NA>
## 49       <NA>          22-35
## 50       <NA>          22-35
## 51      22-35           <NA>
## 52       <NA>          36-59
## 53       <NA>          36-59
## 54      22-35           <NA>
## 55       <NA>           <NA>
## 56      22-35           <NA>
## 57      36-59           <NA>
## 58      36-59           <NA>
## 59      22-35           <NA>
## 60       <NA>          22-35
## 61      36-59           <NA>
## 62       <NA>           <NA>
## 63       <NA>          22-35
## 64       <NA>          22-35
## 65       <NA>           <NA>
## 66       <NA>           <NA>
## 67      36-59           <NA>
## 68      36-59           <NA>
## 69       <NA>          36-59
## 70     over60           <NA>
## 71       <NA>          22-35
## 72       <NA>          36-59
## 73       <NA>          18-21
## 74      36-59           <NA>
## 75      22-35           <NA>
## 76      22-35           <NA>
## 77       <NA>          36-59
## 78      36-59           <NA>
## 79       <NA>          36-59
## 80       <NA>           <NA>
## 81      36-59           <NA>
## 82       <NA>         over60
## 83       <NA>          22-35
## 84      22-35           <NA>
## 85      36-59           <NA>
## 86       <NA>          22-35
## 87      36-59           <NA>
## 88       <NA>          22-35
## 89      22-35           <NA>
## 90       <NA>          22-35
## 91       <NA>          36-59
## 92       <NA>          22-35
## 93      36-59           <NA>
## 94       <NA>          22-35
## 95      22-35           <NA>
## 96      36-59           <NA>
## 97      36-59           <NA>
## 98      36-59           <NA>
## 99      22-35           <NA>
## 100     22-35           <NA>
## 101      <NA>          36-59
## 102     36-59           <NA>
## 103     36-59           <NA>
## 104      <NA>          36-59
## 105     36-59           <NA>
## 106      <NA>          22-35
## 107     36-59           <NA>
## 108      <NA>          22-35
## 109     36-59           <NA>
## 110     36-59           <NA>
## 111      <NA>          22-35
## 112      <NA>          22-35
## 113      <NA>          36-59
## 114     36-59           <NA>
## 115      <NA>           <NA>
## 116      <NA>          36-59
## 117      <NA>           <NA>
## 118      <NA>          18-21
## 119      <NA>          22-35
## 120      <NA>          36-59
## 121     22-35           <NA>
## 122      <NA>          22-35
## 123     22-35           <NA>
## 124      <NA>          22-35
## 125     36-59           <NA>
## 126      <NA>          36-59
## 127      <NA>          22-35
## 128     36-59           <NA>
## 129     36-59           <NA>
## 130      <NA>          36-59
## 131     36-59           <NA>
## 132     36-59           <NA>
## 133     22-35           <NA>
## 134      <NA>          36-59
## 135     36-59           <NA>
## 136     22-35           <NA>
## 137     22-35           <NA>
## 138     36-59           <NA>
## 139     36-59           <NA>
## 140      <NA>          36-59
## 141     22-35           <NA>
## 142     36-59           <NA>
## 143     36-59           <NA>
## 144     22-35           <NA>
## 145      <NA>          22-35
## 146      <NA>          36-59
## 147      <NA>           <NA>
## 148      <NA>          36-59
## 149      <NA>          36-59
## 150      <NA>          22-35
## 151      <NA>          36-59
## 152    over60           <NA>
## 153      <NA>          36-59
## 154     36-59           <NA>
## 155    over60           <NA>
## 156      <NA>          36-59
## 157     18-21           <NA>
## 158     22-35           <NA>
## 159      <NA>          36-59
## 160     36-59           <NA>
## 161     22-35           <NA>
## 162     36-59           <NA>
## 163     18-21           <NA>
## 164      <NA>          36-59
## 165      <NA>          18-21
## 166     22-35           <NA>
## 167     36-59           <NA>
## 168     36-59           <NA>
## 169     36-59           <NA>
## 170     36-59           <NA>
## 171     36-59           <NA>
## 172      <NA>           <NA>
## 173      <NA>           <NA>
## 174     22-35           <NA>
## 175     36-59           <NA>
## 176     22-35           <NA>
## 177      <NA>          22-35
## 178     22-35           <NA>
## 179      <NA>          22-35
## 180     36-59           <NA>
## 181      <NA>          36-59
## 182     36-59           <NA>
## 183     36-59           <NA>
## 184     22-35           <NA>
## 185      <NA>          22-35
## 186      <NA>          22-35
## 187     22-35           <NA>
## 188     36-59           <NA>
## 189      <NA>           <NA>
## 190      <NA>           <NA>
## 191      <NA>          36-59
## 192     36-59           <NA>
## 193     22-35           <NA>
## 194      <NA>          36-59
## 195     22-35           <NA>
## 196     36-59           <NA>
## 197      <NA>          22-35
## 198      <NA>           <NA>
## 199     36-59           <NA>
## 200     36-59           <NA>
## 201     36-59           <NA>
## 202      <NA>           <NA>
## 203      <NA>           <NA>
## 204     36-59           <NA>
## 205      <NA>          36-59
## 206     22-35           <NA>
## 207      <NA>           <NA>
## 208     36-59           <NA>
## 209     22-35           <NA>
## 210     36-59           <NA>
## 211      <NA>           <NA>
## 212     36-59           <NA>
## 213      <NA>          36-59
## 214      <NA>          22-35
## 215     36-59           <NA>
## 216     22-35           <NA>
## 217      <NA>           <NA>
## 218     22-35           <NA>
## 219      <NA>           <NA>
## 220     36-59           <NA>
## 221     22-35           <NA>
## 222     22-35           <NA>
## 223     36-59           <NA>
## 224     36-59           <NA>
## 225     22-35           <NA>
## 226     36-59           <NA>
## 227     22-35           <NA>
## 228      <NA>          22-35
## 229     22-35           <NA>
## 230      <NA>          22-35
## 231      <NA>          36-59
## 232      <NA>           <NA>
## 233      <NA>           <NA>
## 234      <NA>          36-59
## 235      <NA>          36-59
## 236      <NA>          22-35
## 237     22-35           <NA>
## 238     36-59           <NA>
## 239      <NA>          22-35
## 240     22-35           <NA>
## 241      <NA>          22-35
## 242      <NA>          22-35
## 243     36-59           <NA>
## 244      <NA>          36-59
## 245     22-35           <NA>
## 246      <NA>           <NA>
## 247      <NA>           <NA>
## 248    over60           <NA>
## 249     36-59           <NA>
## 250     36-59           <NA>
## 251     18-21           <NA>
## 252     22-35           <NA>
## 253     36-59           <NA>
## 254      <NA>           <NA>
## 255     22-35           <NA>
## 256    over60           <NA>
## 257      <NA>          36-59
## 258     36-59           <NA>
## 259      <NA>          22-35
## 260     22-35           <NA>
## 261      <NA>          22-35
## 262     36-59           <NA>
## 263      <NA>          22-35
## 264      <NA>           <NA>
## 265      <NA>          22-35
## 266     18-21           <NA>
## 267     36-59           <NA>
## 268     36-59           <NA>
## 269     22-35           <NA>
## 270      <NA>           <NA>
## 271     36-59           <NA>
## 272      <NA>          36-59
## 273     22-35           <NA>
## 274      <NA>          36-59
## 275      <NA>          22-35
## 276     36-59           <NA>
## 277     36-59           <NA>
## 278     22-35           <NA>
## 279     36-59           <NA>
## 280     36-59           <NA>
## 281      <NA>          36-59
## 282     36-59           <NA>
## 283     22-35           <NA>
## 284     36-59           <NA>
## 285     36-59           <NA>
## 286     36-59           <NA>
## 287     36-59           <NA>
## 288     22-35           <NA>
## 289      <NA>          22-35
## 290     22-35           <NA>
## 291     22-35           <NA>
## 292      <NA>          36-59
## 293     36-59           <NA>
## 294      <NA>          36-59
## 295      <NA>          22-35
## 296      <NA>         over60
## 297     22-35           <NA>
## 298      <NA>          36-59
## 299      <NA>          36-59
## 300     22-35           <NA>
## 301      <NA>           <NA>
## 302     36-59           <NA>
## 303      <NA>          22-35
## 304     22-35           <NA>
## 305     22-35           <NA>
## 306      <NA>           <NA>
## 307     36-59           <NA>
## 308     36-59           <NA>
## 309     22-35           <NA>
## 310      <NA>          36-59
## 311      <NA>          22-35
## 312     36-59           <NA>
## 313      <NA>          36-59
## 314     36-59           <NA>
## 315      <NA>          36-59
## 316      <NA>          22-35
## 317     36-59           <NA>
## 318     36-59           <NA>
## 319      <NA>          36-59
## 320      <NA>          36-59
## 321      <NA>          36-59
## 322      <NA>          22-35
## 323     18-21           <NA>
## 324     22-35           <NA>
## 325     36-59           <NA>
## 326      <NA>           <NA>
## 327     36-59           <NA>
## 328     36-59           <NA>
## 329     22-35           <NA>
## 330     36-59           <NA>
## 331      <NA>          36-59
## 332     22-35           <NA>
## 333     36-59           <NA>
## 334     36-59           <NA>
## 335      <NA>          22-35
## 336     36-59           <NA>
## 337     22-35           <NA>
## 338     22-35           <NA>
## 339     36-59           <NA>
## 340      <NA>          22-35
## 341     22-35           <NA>
## 342      <NA>          36-59
## 343      <NA>          36-59
## 344     36-59           <NA>
## 345     22-35           <NA>
## 346     22-35           <NA>
## 347      <NA>          36-59
## 348     36-59           <NA>
## 349     36-59           <NA>
## 350     36-59           <NA>
## 351     22-35           <NA>
## 352      <NA>          22-35
## 353      <NA>          22-35
## 354     22-35           <NA>
## 355     36-59           <NA>
## 356     22-35           <NA>
## 357      <NA>          36-59
## 358      <NA>          22-35
## 359     22-35           <NA>
## 360     36-59           <NA>
## 361      <NA>          36-59
## 362      <NA>          22-35
## 363     22-35           <NA>
## 364      <NA>          36-59
## 365     22-35           <NA>
## 366      <NA>          36-59
## 367      <NA>          22-35
## 368      <NA>          22-35
## 369    over60           <NA>
## 370     22-35           <NA>
## 371     36-59           <NA>
## 372      <NA>          36-59
## 373     22-35           <NA>
## 374      <NA>           <NA>
## 375     22-35           <NA>
## 376     36-59           <NA>
## 377     36-59           <NA>
## 378     36-59           <NA>
## 379     36-59           <NA>
## 380      <NA>          22-35
## 381      <NA>          22-35
## 382      <NA>           <NA>
## 383      <NA>           <NA>
## 384      <NA>          22-35
## 385      <NA>          22-35
## 386      <NA>          36-59
## 387      <NA>          36-59
## 388      <NA>          22-35
## 389      <NA>          36-59
## 390      <NA>           <NA>
## 391      <NA>           <NA>
## 392      <NA>          36-59
## 393     36-59           <NA>
## 394      <NA>          22-35
## 395     22-35           <NA>
## 396     22-35           <NA>
## 397      <NA>          22-35
## 398     36-59           <NA>
## 399     22-35           <NA>
## 400     22-35           <NA>
## 401      <NA>          22-35
## 402      <NA>          36-59
## 403     36-59           <NA>
## 404     36-59           <NA>
## 405      <NA>          22-35
## 406     36-59           <NA>
datita2 <- datita
# el uso de tidy-select ":" nos permite selecionar un rango de variables, entonces si tienes 100 va. puedes hacer col1:col100 siempre y cuando las variables sean consecutivas 
datita2<-datita2%>%unite("AGE",age_range:age_rangeother,sep="",remove=F,na.rm=T)
datita2
##        AGE age_range age_rangeother
## 1    22-35      <NA>          22-35
## 2    36-59      <NA>          36-59
## 3    36-59      <NA>          36-59
## 4    36-59     36-59           <NA>
## 5    36-59     36-59           <NA>
## 6    36-59      <NA>          36-59
## 7    22-35      <NA>          22-35
## 8               <NA>           <NA>
## 9    36-59      <NA>          36-59
## 10   36-59      <NA>          36-59
## 11   36-59      <NA>          36-59
## 12   22-35      <NA>          22-35
## 13   36-59      <NA>          36-59
## 14   36-59     36-59           <NA>
## 15   22-35      <NA>          22-35
## 16              <NA>           <NA>
## 17   36-59      <NA>          36-59
## 18   22-35     22-35           <NA>
## 19   36-59      <NA>          36-59
## 20   36-59      <NA>          36-59
## 21   22-35      <NA>          22-35
## 22   22-35     22-35           <NA>
## 23   36-59      <NA>          36-59
## 24   22-35     22-35           <NA>
## 25   22-35      <NA>          22-35
## 26   36-59     36-59           <NA>
## 27              <NA>           <NA>
## 28   22-35      <NA>          22-35
## 29   36-59      <NA>          36-59
## 30   22-35      <NA>          22-35
## 31   22-35     22-35           <NA>
## 32   22-35      <NA>          22-35
## 33   36-59     36-59           <NA>
## 34   36-59     36-59           <NA>
## 35   22-35      <NA>          22-35
## 36              <NA>           <NA>
## 37   36-59      <NA>          36-59
## 38   22-35     22-35           <NA>
## 39              <NA>           <NA>
## 40   22-35      <NA>          22-35
## 41              <NA>           <NA>
## 42   22-35     22-35           <NA>
## 43   22-35     22-35           <NA>
## 44   36-59     36-59           <NA>
## 45   36-59      <NA>          36-59
## 46   22-35      <NA>          22-35
## 47   36-59     36-59           <NA>
## 48   22-35     22-35           <NA>
## 49   22-35      <NA>          22-35
## 50   22-35      <NA>          22-35
## 51   22-35     22-35           <NA>
## 52   36-59      <NA>          36-59
## 53   36-59      <NA>          36-59
## 54   22-35     22-35           <NA>
## 55              <NA>           <NA>
## 56   22-35     22-35           <NA>
## 57   36-59     36-59           <NA>
## 58   36-59     36-59           <NA>
## 59   22-35     22-35           <NA>
## 60   22-35      <NA>          22-35
## 61   36-59     36-59           <NA>
## 62              <NA>           <NA>
## 63   22-35      <NA>          22-35
## 64   22-35      <NA>          22-35
## 65              <NA>           <NA>
## 66              <NA>           <NA>
## 67   36-59     36-59           <NA>
## 68   36-59     36-59           <NA>
## 69   36-59      <NA>          36-59
## 70  over60    over60           <NA>
## 71   22-35      <NA>          22-35
## 72   36-59      <NA>          36-59
## 73   18-21      <NA>          18-21
## 74   36-59     36-59           <NA>
## 75   22-35     22-35           <NA>
## 76   22-35     22-35           <NA>
## 77   36-59      <NA>          36-59
## 78   36-59     36-59           <NA>
## 79   36-59      <NA>          36-59
## 80              <NA>           <NA>
## 81   36-59     36-59           <NA>
## 82  over60      <NA>         over60
## 83   22-35      <NA>          22-35
## 84   22-35     22-35           <NA>
## 85   36-59     36-59           <NA>
## 86   22-35      <NA>          22-35
## 87   36-59     36-59           <NA>
## 88   22-35      <NA>          22-35
## 89   22-35     22-35           <NA>
## 90   22-35      <NA>          22-35
## 91   36-59      <NA>          36-59
## 92   22-35      <NA>          22-35
## 93   36-59     36-59           <NA>
## 94   22-35      <NA>          22-35
## 95   22-35     22-35           <NA>
## 96   36-59     36-59           <NA>
## 97   36-59     36-59           <NA>
## 98   36-59     36-59           <NA>
## 99   22-35     22-35           <NA>
## 100  22-35     22-35           <NA>
## 101  36-59      <NA>          36-59
## 102  36-59     36-59           <NA>
## 103  36-59     36-59           <NA>
## 104  36-59      <NA>          36-59
## 105  36-59     36-59           <NA>
## 106  22-35      <NA>          22-35
## 107  36-59     36-59           <NA>
## 108  22-35      <NA>          22-35
## 109  36-59     36-59           <NA>
## 110  36-59     36-59           <NA>
## 111  22-35      <NA>          22-35
## 112  22-35      <NA>          22-35
## 113  36-59      <NA>          36-59
## 114  36-59     36-59           <NA>
## 115             <NA>           <NA>
## 116  36-59      <NA>          36-59
## 117             <NA>           <NA>
## 118  18-21      <NA>          18-21
## 119  22-35      <NA>          22-35
## 120  36-59      <NA>          36-59
## 121  22-35     22-35           <NA>
## 122  22-35      <NA>          22-35
## 123  22-35     22-35           <NA>
## 124  22-35      <NA>          22-35
## 125  36-59     36-59           <NA>
## 126  36-59      <NA>          36-59
## 127  22-35      <NA>          22-35
## 128  36-59     36-59           <NA>
## 129  36-59     36-59           <NA>
## 130  36-59      <NA>          36-59
## 131  36-59     36-59           <NA>
## 132  36-59     36-59           <NA>
## 133  22-35     22-35           <NA>
## 134  36-59      <NA>          36-59
## 135  36-59     36-59           <NA>
## 136  22-35     22-35           <NA>
## 137  22-35     22-35           <NA>
## 138  36-59     36-59           <NA>
## 139  36-59     36-59           <NA>
## 140  36-59      <NA>          36-59
## 141  22-35     22-35           <NA>
## 142  36-59     36-59           <NA>
## 143  36-59     36-59           <NA>
## 144  22-35     22-35           <NA>
## 145  22-35      <NA>          22-35
## 146  36-59      <NA>          36-59
## 147             <NA>           <NA>
## 148  36-59      <NA>          36-59
## 149  36-59      <NA>          36-59
## 150  22-35      <NA>          22-35
## 151  36-59      <NA>          36-59
## 152 over60    over60           <NA>
## 153  36-59      <NA>          36-59
## 154  36-59     36-59           <NA>
## 155 over60    over60           <NA>
## 156  36-59      <NA>          36-59
## 157  18-21     18-21           <NA>
## 158  22-35     22-35           <NA>
## 159  36-59      <NA>          36-59
## 160  36-59     36-59           <NA>
## 161  22-35     22-35           <NA>
## 162  36-59     36-59           <NA>
## 163  18-21     18-21           <NA>
## 164  36-59      <NA>          36-59
## 165  18-21      <NA>          18-21
## 166  22-35     22-35           <NA>
## 167  36-59     36-59           <NA>
## 168  36-59     36-59           <NA>
## 169  36-59     36-59           <NA>
## 170  36-59     36-59           <NA>
## 171  36-59     36-59           <NA>
## 172             <NA>           <NA>
## 173             <NA>           <NA>
## 174  22-35     22-35           <NA>
## 175  36-59     36-59           <NA>
## 176  22-35     22-35           <NA>
## 177  22-35      <NA>          22-35
## 178  22-35     22-35           <NA>
## 179  22-35      <NA>          22-35
## 180  36-59     36-59           <NA>
## 181  36-59      <NA>          36-59
## 182  36-59     36-59           <NA>
## 183  36-59     36-59           <NA>
## 184  22-35     22-35           <NA>
## 185  22-35      <NA>          22-35
## 186  22-35      <NA>          22-35
## 187  22-35     22-35           <NA>
## 188  36-59     36-59           <NA>
## 189             <NA>           <NA>
## 190             <NA>           <NA>
## 191  36-59      <NA>          36-59
## 192  36-59     36-59           <NA>
## 193  22-35     22-35           <NA>
## 194  36-59      <NA>          36-59
## 195  22-35     22-35           <NA>
## 196  36-59     36-59           <NA>
## 197  22-35      <NA>          22-35
## 198             <NA>           <NA>
## 199  36-59     36-59           <NA>
## 200  36-59     36-59           <NA>
## 201  36-59     36-59           <NA>
## 202             <NA>           <NA>
## 203             <NA>           <NA>
## 204  36-59     36-59           <NA>
## 205  36-59      <NA>          36-59
## 206  22-35     22-35           <NA>
## 207             <NA>           <NA>
## 208  36-59     36-59           <NA>
## 209  22-35     22-35           <NA>
## 210  36-59     36-59           <NA>
## 211             <NA>           <NA>
## 212  36-59     36-59           <NA>
## 213  36-59      <NA>          36-59
## 214  22-35      <NA>          22-35
## 215  36-59     36-59           <NA>
## 216  22-35     22-35           <NA>
## 217             <NA>           <NA>
## 218  22-35     22-35           <NA>
## 219             <NA>           <NA>
## 220  36-59     36-59           <NA>
## 221  22-35     22-35           <NA>
## 222  22-35     22-35           <NA>
## 223  36-59     36-59           <NA>
## 224  36-59     36-59           <NA>
## 225  22-35     22-35           <NA>
## 226  36-59     36-59           <NA>
## 227  22-35     22-35           <NA>
## 228  22-35      <NA>          22-35
## 229  22-35     22-35           <NA>
## 230  22-35      <NA>          22-35
## 231  36-59      <NA>          36-59
## 232             <NA>           <NA>
## 233             <NA>           <NA>
## 234  36-59      <NA>          36-59
## 235  36-59      <NA>          36-59
## 236  22-35      <NA>          22-35
## 237  22-35     22-35           <NA>
## 238  36-59     36-59           <NA>
## 239  22-35      <NA>          22-35
## 240  22-35     22-35           <NA>
## 241  22-35      <NA>          22-35
## 242  22-35      <NA>          22-35
## 243  36-59     36-59           <NA>
## 244  36-59      <NA>          36-59
## 245  22-35     22-35           <NA>
## 246             <NA>           <NA>
## 247             <NA>           <NA>
## 248 over60    over60           <NA>
## 249  36-59     36-59           <NA>
## 250  36-59     36-59           <NA>
## 251  18-21     18-21           <NA>
## 252  22-35     22-35           <NA>
## 253  36-59     36-59           <NA>
## 254             <NA>           <NA>
## 255  22-35     22-35           <NA>
## 256 over60    over60           <NA>
## 257  36-59      <NA>          36-59
## 258  36-59     36-59           <NA>
## 259  22-35      <NA>          22-35
## 260  22-35     22-35           <NA>
## 261  22-35      <NA>          22-35
## 262  36-59     36-59           <NA>
## 263  22-35      <NA>          22-35
## 264             <NA>           <NA>
## 265  22-35      <NA>          22-35
## 266  18-21     18-21           <NA>
## 267  36-59     36-59           <NA>
## 268  36-59     36-59           <NA>
## 269  22-35     22-35           <NA>
## 270             <NA>           <NA>
## 271  36-59     36-59           <NA>
## 272  36-59      <NA>          36-59
## 273  22-35     22-35           <NA>
## 274  36-59      <NA>          36-59
## 275  22-35      <NA>          22-35
## 276  36-59     36-59           <NA>
## 277  36-59     36-59           <NA>
## 278  22-35     22-35           <NA>
## 279  36-59     36-59           <NA>
## 280  36-59     36-59           <NA>
## 281  36-59      <NA>          36-59
## 282  36-59     36-59           <NA>
## 283  22-35     22-35           <NA>
## 284  36-59     36-59           <NA>
## 285  36-59     36-59           <NA>
## 286  36-59     36-59           <NA>
## 287  36-59     36-59           <NA>
## 288  22-35     22-35           <NA>
## 289  22-35      <NA>          22-35
## 290  22-35     22-35           <NA>
## 291  22-35     22-35           <NA>
## 292  36-59      <NA>          36-59
## 293  36-59     36-59           <NA>
## 294  36-59      <NA>          36-59
## 295  22-35      <NA>          22-35
## 296 over60      <NA>         over60
## 297  22-35     22-35           <NA>
## 298  36-59      <NA>          36-59
## 299  36-59      <NA>          36-59
## 300  22-35     22-35           <NA>
## 301             <NA>           <NA>
## 302  36-59     36-59           <NA>
## 303  22-35      <NA>          22-35
## 304  22-35     22-35           <NA>
## 305  22-35     22-35           <NA>
## 306             <NA>           <NA>
## 307  36-59     36-59           <NA>
## 308  36-59     36-59           <NA>
## 309  22-35     22-35           <NA>
## 310  36-59      <NA>          36-59
## 311  22-35      <NA>          22-35
## 312  36-59     36-59           <NA>
## 313  36-59      <NA>          36-59
## 314  36-59     36-59           <NA>
## 315  36-59      <NA>          36-59
## 316  22-35      <NA>          22-35
## 317  36-59     36-59           <NA>
## 318  36-59     36-59           <NA>
## 319  36-59      <NA>          36-59
## 320  36-59      <NA>          36-59
## 321  36-59      <NA>          36-59
## 322  22-35      <NA>          22-35
## 323  18-21     18-21           <NA>
## 324  22-35     22-35           <NA>
## 325  36-59     36-59           <NA>
## 326             <NA>           <NA>
## 327  36-59     36-59           <NA>
## 328  36-59     36-59           <NA>
## 329  22-35     22-35           <NA>
## 330  36-59     36-59           <NA>
## 331  36-59      <NA>          36-59
## 332  22-35     22-35           <NA>
## 333  36-59     36-59           <NA>
## 334  36-59     36-59           <NA>
## 335  22-35      <NA>          22-35
## 336  36-59     36-59           <NA>
## 337  22-35     22-35           <NA>
## 338  22-35     22-35           <NA>
## 339  36-59     36-59           <NA>
## 340  22-35      <NA>          22-35
## 341  22-35     22-35           <NA>
## 342  36-59      <NA>          36-59
## 343  36-59      <NA>          36-59
## 344  36-59     36-59           <NA>
## 345  22-35     22-35           <NA>
## 346  22-35     22-35           <NA>
## 347  36-59      <NA>          36-59
## 348  36-59     36-59           <NA>
## 349  36-59     36-59           <NA>
## 350  36-59     36-59           <NA>
## 351  22-35     22-35           <NA>
## 352  22-35      <NA>          22-35
## 353  22-35      <NA>          22-35
## 354  22-35     22-35           <NA>
## 355  36-59     36-59           <NA>
## 356  22-35     22-35           <NA>
## 357  36-59      <NA>          36-59
## 358  22-35      <NA>          22-35
## 359  22-35     22-35           <NA>
## 360  36-59     36-59           <NA>
## 361  36-59      <NA>          36-59
## 362  22-35      <NA>          22-35
## 363  22-35     22-35           <NA>
## 364  36-59      <NA>          36-59
## 365  22-35     22-35           <NA>
## 366  36-59      <NA>          36-59
## 367  22-35      <NA>          22-35
## 368  22-35      <NA>          22-35
## 369 over60    over60           <NA>
## 370  22-35     22-35           <NA>
## 371  36-59     36-59           <NA>
## 372  36-59      <NA>          36-59
## 373  22-35     22-35           <NA>
## 374             <NA>           <NA>
## 375  22-35     22-35           <NA>
## 376  36-59     36-59           <NA>
## 377  36-59     36-59           <NA>
## 378  36-59     36-59           <NA>
## 379  36-59     36-59           <NA>
## 380  22-35      <NA>          22-35
## 381  22-35      <NA>          22-35
## 382             <NA>           <NA>
## 383             <NA>           <NA>
## 384  22-35      <NA>          22-35
## 385  22-35      <NA>          22-35
## 386  36-59      <NA>          36-59
## 387  36-59      <NA>          36-59
## 388  22-35      <NA>          22-35
## 389  36-59      <NA>          36-59
## 390             <NA>           <NA>
## 391             <NA>           <NA>
## 392  36-59      <NA>          36-59
## 393  36-59     36-59           <NA>
## 394  22-35      <NA>          22-35
## 395  22-35     22-35           <NA>
## 396  22-35     22-35           <NA>
## 397  22-35      <NA>          22-35
## 398  36-59     36-59           <NA>
## 399  22-35     22-35           <NA>
## 400  22-35     22-35           <NA>
## 401  22-35      <NA>          22-35
## 402  36-59      <NA>          36-59
## 403  36-59     36-59           <NA>
## 404  36-59     36-59           <NA>
## 405  22-35      <NA>          22-35
## 406  36-59     36-59           <NA>
data4 <- cbind(data4,datita2) #juntar la data.frame a la BD
data4$AGE
##   [1] "22-35"  "36-59"  "36-59"  "36-59"  "36-59"  "36-59"  "22-35"  ""      
##   [9] "36-59"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35"  ""      
##  [17] "36-59"  "22-35"  "36-59"  "36-59"  "22-35"  "22-35"  "36-59"  "22-35" 
##  [25] "22-35"  "36-59"  ""       "22-35"  "36-59"  "22-35"  "22-35"  "22-35" 
##  [33] "36-59"  "36-59"  "22-35"  ""       "36-59"  "22-35"  ""       "22-35" 
##  [41] ""       "22-35"  "22-35"  "36-59"  "36-59"  "22-35"  "36-59"  "22-35" 
##  [49] "22-35"  "22-35"  "22-35"  "36-59"  "36-59"  "22-35"  ""       "22-35" 
##  [57] "36-59"  "36-59"  "22-35"  "22-35"  "36-59"  ""       "22-35"  "22-35" 
##  [65] ""       ""       "36-59"  "36-59"  "36-59"  "over60" "22-35"  "36-59" 
##  [73] "18-21"  "36-59"  "22-35"  "22-35"  "36-59"  "36-59"  "36-59"  ""      
##  [81] "36-59"  "over60" "22-35"  "22-35"  "36-59"  "22-35"  "36-59"  "22-35" 
##  [89] "22-35"  "22-35"  "36-59"  "22-35"  "36-59"  "22-35"  "22-35"  "36-59" 
##  [97] "36-59"  "36-59"  "22-35"  "22-35"  "36-59"  "36-59"  "36-59"  "36-59" 
## [105] "36-59"  "22-35"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35"  "22-35" 
## [113] "36-59"  "36-59"  ""       "36-59"  ""       "18-21"  "22-35"  "36-59" 
## [121] "22-35"  "22-35"  "22-35"  "22-35"  "36-59"  "36-59"  "22-35"  "36-59" 
## [129] "36-59"  "36-59"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35" 
## [137] "22-35"  "36-59"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35" 
## [145] "22-35"  "36-59"  ""       "36-59"  "36-59"  "22-35"  "36-59"  "over60"
## [153] "36-59"  "36-59"  "over60" "36-59"  "18-21"  "22-35"  "36-59"  "36-59" 
## [161] "22-35"  "36-59"  "18-21"  "36-59"  "18-21"  "22-35"  "36-59"  "36-59" 
## [169] "36-59"  "36-59"  "36-59"  ""       ""       "22-35"  "36-59"  "22-35" 
## [177] "22-35"  "22-35"  "22-35"  "36-59"  "36-59"  "36-59"  "36-59"  "22-35" 
## [185] "22-35"  "22-35"  "22-35"  "36-59"  ""       ""       "36-59"  "36-59" 
## [193] "22-35"  "36-59"  "22-35"  "36-59"  "22-35"  ""       "36-59"  "36-59" 
## [201] "36-59"  ""       ""       "36-59"  "36-59"  "22-35"  ""       "36-59" 
## [209] "22-35"  "36-59"  ""       "36-59"  "36-59"  "22-35"  "36-59"  "22-35" 
## [217] ""       "22-35"  ""       "36-59"  "22-35"  "22-35"  "36-59"  "36-59" 
## [225] "22-35"  "36-59"  "22-35"  "22-35"  "22-35"  "22-35"  "36-59"  ""      
## [233] ""       "36-59"  "36-59"  "22-35"  "22-35"  "36-59"  "22-35"  "22-35" 
## [241] "22-35"  "22-35"  "36-59"  "36-59"  "22-35"  ""       ""       "over60"
## [249] "36-59"  "36-59"  "18-21"  "22-35"  "36-59"  ""       "22-35"  "over60"
## [257] "36-59"  "36-59"  "22-35"  "22-35"  "22-35"  "36-59"  "22-35"  ""      
## [265] "22-35"  "18-21"  "36-59"  "36-59"  "22-35"  ""       "36-59"  "36-59" 
## [273] "22-35"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59" 
## [281] "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "36-59"  "36-59"  "22-35" 
## [289] "22-35"  "22-35"  "22-35"  "36-59"  "36-59"  "36-59"  "22-35"  "over60"
## [297] "22-35"  "36-59"  "36-59"  "22-35"  ""       "36-59"  "22-35"  "22-35" 
## [305] "22-35"  ""       "36-59"  "36-59"  "22-35"  "36-59"  "22-35"  "36-59" 
## [313] "36-59"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "36-59"  "36-59" 
## [321] "36-59"  "22-35"  "18-21"  "22-35"  "36-59"  ""       "36-59"  "36-59" 
## [329] "22-35"  "36-59"  "36-59"  "22-35"  "36-59"  "36-59"  "22-35"  "36-59" 
## [337] "22-35"  "22-35"  "36-59"  "22-35"  "22-35"  "36-59"  "36-59"  "36-59" 
## [345] "22-35"  "22-35"  "36-59"  "36-59"  "36-59"  "36-59"  "22-35"  "22-35" 
## [353] "22-35"  "22-35"  "36-59"  "22-35"  "36-59"  "22-35"  "22-35"  "36-59" 
## [361] "36-59"  "22-35"  "22-35"  "36-59"  "22-35"  "36-59"  "22-35"  "22-35" 
## [369] "over60" "22-35"  "36-59"  "36-59"  "22-35"  ""       "22-35"  "36-59" 
## [377] "36-59"  "36-59"  "36-59"  "22-35"  "22-35"  ""       ""       "22-35" 
## [385] "22-35"  "36-59"  "36-59"  "22-35"  "36-59"  ""       ""       "36-59" 
## [393] "36-59"  "22-35"  "22-35"  "22-35"  "22-35"  "36-59"  "22-35"  "22-35" 
## [401] "22-35"  "36-59"  "36-59"  "36-59"  "22-35"  "36-59"
# Eliminar casos duplicados
library(dplyr)
data4 <- select(data4,-age_range,-age_rangeother)
#data4 <- distinct(data4) #eliminar variables duplicadas; sin embargo, en este caso no aplica pues el nombre de la columna es distinto

data5 <- as_tibble(data4)

write_csv(data5, "C:/Users/MICHELLE/OneDrive/Escritorio/Rstudio_prac/Data para analizar con R.csv")
# sexo
#sex
#sexother

library(tidyr)
#StringsAsFactor=F pues la funcion unite de tidyr no remueve los NA de factores
datota <- data.frame(sex,sexother,stringsAsFactors=F)
datota
##        sex sexother
## 1     <NA>     male
## 2     <NA>     male
## 3     <NA>     male
## 4   female     <NA>
## 5   female     <NA>
## 6     <NA>     male
## 7     <NA>     male
## 8   female     <NA>
## 9     <NA>     male
## 10    <NA>   female
## 11    <NA>   female
## 12    <NA>     male
## 13    <NA>     male
## 14  female     <NA>
## 15    <NA>     male
## 16    male     <NA>
## 17    <NA>     male
## 18  female     <NA>
## 19    <NA>     male
## 20    <NA>     male
## 21    <NA>     male
## 22  female     <NA>
## 23    <NA>     male
## 24  female     <NA>
## 25    <NA>     male
## 26    male     <NA>
## 27    male     <NA>
## 28    <NA>     male
## 29    <NA>     male
## 30    <NA>   female
## 31    male     <NA>
## 32    <NA>     male
## 33  female     <NA>
## 34  female     <NA>
## 35    <NA>     male
## 36    male     <NA>
## 37    <NA>   female
## 38  female     <NA>
## 39    <NA>     male
## 40    <NA>     male
## 41    male     <NA>
## 42    male     <NA>
## 43    male     <NA>
## 44  female     <NA>
## 45    <NA>     male
## 46    <NA>     male
## 47  female     <NA>
## 48    <NA>     <NA>
## 49    <NA>   female
## 50    <NA>     male
## 51  female     <NA>
## 52    <NA>     male
## 53    <NA>     male
## 54    male     <NA>
## 55  female     <NA>
## 56    male     <NA>
## 57  female     <NA>
## 58    male     <NA>
## 59  female     <NA>
## 60    <NA>   female
## 61  female     <NA>
## 62    male     <NA>
## 63    <NA>     male
## 64    <NA>   female
## 65    male     <NA>
## 66    male     <NA>
## 67    male     <NA>
## 68    male     <NA>
## 69    <NA>     male
## 70    male     <NA>
## 71    <NA>     male
## 72    <NA>     male
## 73    <NA>     male
## 74  female     <NA>
## 75    male     <NA>
## 76    male     <NA>
## 77    <NA>     male
## 78    male     <NA>
## 79    <NA>     male
## 80  female     <NA>
## 81    <NA>     <NA>
## 82    <NA>   female
## 83    <NA>     male
## 84  female     <NA>
## 85  female     <NA>
## 86    <NA>     male
## 87  female     <NA>
## 88    <NA>     male
## 89  female     <NA>
## 90    <NA>     male
## 91    <NA>     male
## 92    <NA>     male
## 93  female     <NA>
## 94    <NA>     male
## 95    male     <NA>
## 96  female     <NA>
## 97    male     <NA>
## 98    male     <NA>
## 99  female     <NA>
## 100 female     <NA>
## 101   <NA>     male
## 102 female     <NA>
## 103 female     <NA>
## 104   <NA>   female
## 105   male     <NA>
## 106   <NA>     male
## 107   male     <NA>
## 108   <NA>     male
## 109   male     <NA>
## 110 female     <NA>
## 111   <NA>   female
## 112   <NA>     <NA>
## 113   <NA>   female
## 114   male     <NA>
## 115 female     <NA>
## 116   <NA>     male
## 117   male     <NA>
## 118   <NA>     male
## 119   <NA>   female
## 120   <NA>     male
## 121 female     <NA>
## 122   <NA>     male
## 123 female     <NA>
## 124   <NA>     male
## 125 female     <NA>
## 126   <NA>     male
## 127   <NA>   female
## 128   male     <NA>
## 129 female     <NA>
## 130   <NA>     male
## 131 female     <NA>
## 132 female     <NA>
## 133 female     <NA>
## 134   <NA>     male
## 135   male     <NA>
## 136   male     <NA>
## 137 female     <NA>
## 138   male     <NA>
## 139 female     <NA>
## 140   <NA>     <NA>
## 141   <NA>     <NA>
## 142   male     <NA>
## 143 female     <NA>
## 144 female     <NA>
## 145   <NA>     <NA>
## 146   <NA>     male
## 147   <NA>     male
## 148   <NA>     male
## 149   <NA>     male
## 150   <NA>     male
## 151   <NA>     <NA>
## 152 female     <NA>
## 153   <NA>     male
## 154 female     <NA>
## 155 female     <NA>
## 156   <NA>   female
## 157 female     <NA>
## 158   male     <NA>
## 159   <NA>     male
## 160 female     <NA>
## 161 female     <NA>
## 162 female     <NA>
## 163 female     <NA>
## 164   <NA>     male
## 165   <NA>   female
## 166 female     <NA>
## 167 female     <NA>
## 168 female     <NA>
## 169   male     <NA>
## 170 female     <NA>
## 171   male     <NA>
## 172   <NA>     male
## 173 female     <NA>
## 174 female     <NA>
## 175   male     <NA>
## 176 female     <NA>
## 177   <NA>     male
## 178   male     <NA>
## 179   <NA>     male
## 180 female     <NA>
## 181   <NA>     male
## 182 female     <NA>
## 183 female     <NA>
## 184   male     <NA>
## 185   <NA>     male
## 186   <NA>     male
## 187   male     <NA>
## 188 female     <NA>
## 189   <NA>     male
## 190   male     <NA>
## 191   <NA>     male
## 192 female     <NA>
## 193   male     <NA>
## 194   <NA>     male
## 195 female     <NA>
## 196 female     <NA>
## 197   <NA>     male
## 198   <NA>     male
## 199 female     <NA>
## 200   male     <NA>
## 201 female     <NA>
## 202   male     <NA>
## 203 female     <NA>
## 204 female     <NA>
## 205   <NA>     male
## 206   male     <NA>
## 207 female     <NA>
## 208   male     <NA>
## 209 female     <NA>
## 210 female     <NA>
## 211 female     <NA>
## 212 female     <NA>
## 213   <NA>     male
## 214   <NA>     <NA>
## 215   male     <NA>
## 216   male     <NA>
## 217   <NA>     male
## 218   male     <NA>
## 219 female     <NA>
## 220 female     <NA>
## 221   male     <NA>
## 222 female     <NA>
## 223   <NA>     <NA>
## 224   male     <NA>
## 225 female     <NA>
## 226 female     <NA>
## 227   male     <NA>
## 228   <NA>     male
## 229 female     <NA>
## 230   <NA>     male
## 231   <NA>     male
## 232 female     <NA>
## 233   male     <NA>
## 234   <NA>   female
## 235   <NA>     male
## 236   <NA>     male
## 237   male     <NA>
## 238 female     <NA>
## 239   <NA>     male
## 240   male     <NA>
## 241   <NA>     male
## 242   <NA>     male
## 243 female     <NA>
## 244   <NA>     male
## 245 female     <NA>
## 246 female     <NA>
## 247   male     <NA>
## 248 female     <NA>
## 249   <NA>     <NA>
## 250 female     <NA>
## 251   male     <NA>
## 252 female     <NA>
## 253 female     <NA>
## 254 female     <NA>
## 255   male     <NA>
## 256 female     <NA>
## 257   <NA>     male
## 258   male     <NA>
## 259   <NA>     male
## 260   male     <NA>
## 261   <NA>     male
## 262 female     <NA>
## 263   <NA>     male
## 264 female     <NA>
## 265   <NA>   female
## 266 female     <NA>
## 267 female     <NA>
## 268 female     <NA>
## 269 female     <NA>
## 270   male     <NA>
## 271 female     <NA>
## 272   <NA>     male
## 273   male     <NA>
## 274   <NA>     male
## 275   <NA>     male
## 276 female     <NA>
## 277 female     <NA>
## 278 female     <NA>
## 279 female     <NA>
## 280   male     <NA>
## 281   <NA>     male
## 282   male     <NA>
## 283   male     <NA>
## 284   male     <NA>
## 285 female     <NA>
## 286 female     <NA>
## 287 female     <NA>
## 288 female     <NA>
## 289   <NA>     male
## 290   male     <NA>
## 291   male     <NA>
## 292   <NA>   female
## 293 female     <NA>
## 294   <NA>     male
## 295   <NA>     male
## 296   <NA>     male
## 297   male     <NA>
## 298   <NA>   female
## 299   <NA>     male
## 300   male     <NA>
## 301 female     <NA>
## 302   male     <NA>
## 303   <NA>     male
## 304   male     <NA>
## 305   male     <NA>
## 306   male     <NA>
## 307   male     <NA>
## 308   male     <NA>
## 309   male     <NA>
## 310   <NA>     male
## 311   <NA>   female
## 312 female     <NA>
## 313   <NA>     male
## 314 female     <NA>
## 315   <NA>     male
## 316   <NA>     male
## 317 female     <NA>
## 318   male     <NA>
## 319   <NA>     male
## 320   <NA>     male
## 321   <NA>     male
## 322   <NA>     male
## 323   male     <NA>
## 324   male     <NA>
## 325   male     <NA>
## 326 female     <NA>
## 327 female     <NA>
## 328 female     <NA>
## 329   male     <NA>
## 330   <NA>     <NA>
## 331   <NA>     male
## 332   <NA>     <NA>
## 333 female     <NA>
## 334 female     <NA>
## 335   <NA>     male
## 336 female     <NA>
## 337 female     <NA>
## 338 female     <NA>
## 339   male     <NA>
## 340   <NA>     male
## 341 female     <NA>
## 342   <NA>     male
## 343   <NA>     male
## 344 female     <NA>
## 345 female     <NA>
## 346   male     <NA>
## 347   <NA>     male
## 348 female     <NA>
## 349 female     <NA>
## 350   male     <NA>
## 351   male     <NA>
## 352   <NA>     male
## 353   <NA>     male
## 354 female     <NA>
## 355   male     <NA>
## 356 female     <NA>
## 357   <NA>     male
## 358   <NA>     male
## 359   male     <NA>
## 360   male     <NA>
## 361   <NA>     male
## 362   <NA>     male
## 363 female     <NA>
## 364   <NA>     male
## 365   male     <NA>
## 366   <NA>     male
## 367   <NA>     male
## 368   <NA>     male
## 369 female     <NA>
## 370   male     <NA>
## 371 female     <NA>
## 372   <NA>   female
## 373 female     <NA>
## 374 female     <NA>
## 375   male     <NA>
## 376 female     <NA>
## 377   male     <NA>
## 378   male     <NA>
## 379 female     <NA>
## 380   <NA>     male
## 381   <NA>     male
## 382   male     <NA>
## 383   male     <NA>
## 384   <NA>     male
## 385   <NA>   female
## 386   <NA>     male
## 387   <NA>     male
## 388   <NA>     male
## 389   <NA>     male
## 390   male     <NA>
## 391   <NA>     male
## 392   <NA>     male
## 393 female     <NA>
## 394   <NA>     male
## 395 female     <NA>
## 396 female     <NA>
## 397   <NA>     male
## 398   male     <NA>
## 399 female     <NA>
## 400 female     <NA>
## 401   <NA>     male
## 402   <NA>     male
## 403 female     <NA>
## 404 female     <NA>
## 405   <NA>     male
## 406 female     <NA>
datota2 <- datota
# el uso de tidy-select ":" nos permite selecionar un rango de variables, entonces si tienes 100 va. puedes hacer col1:col100 siempre y cuando las variables sean consecutivas 
datota2<-datota2%>%unite("SEX",sex:sexother,sep="",remove=F,na.rm=T)
datota2
##        SEX    sex sexother
## 1     male   <NA>     male
## 2     male   <NA>     male
## 3     male   <NA>     male
## 4   female female     <NA>
## 5   female female     <NA>
## 6     male   <NA>     male
## 7     male   <NA>     male
## 8   female female     <NA>
## 9     male   <NA>     male
## 10  female   <NA>   female
## 11  female   <NA>   female
## 12    male   <NA>     male
## 13    male   <NA>     male
## 14  female female     <NA>
## 15    male   <NA>     male
## 16    male   male     <NA>
## 17    male   <NA>     male
## 18  female female     <NA>
## 19    male   <NA>     male
## 20    male   <NA>     male
## 21    male   <NA>     male
## 22  female female     <NA>
## 23    male   <NA>     male
## 24  female female     <NA>
## 25    male   <NA>     male
## 26    male   male     <NA>
## 27    male   male     <NA>
## 28    male   <NA>     male
## 29    male   <NA>     male
## 30  female   <NA>   female
## 31    male   male     <NA>
## 32    male   <NA>     male
## 33  female female     <NA>
## 34  female female     <NA>
## 35    male   <NA>     male
## 36    male   male     <NA>
## 37  female   <NA>   female
## 38  female female     <NA>
## 39    male   <NA>     male
## 40    male   <NA>     male
## 41    male   male     <NA>
## 42    male   male     <NA>
## 43    male   male     <NA>
## 44  female female     <NA>
## 45    male   <NA>     male
## 46    male   <NA>     male
## 47  female female     <NA>
## 48           <NA>     <NA>
## 49  female   <NA>   female
## 50    male   <NA>     male
## 51  female female     <NA>
## 52    male   <NA>     male
## 53    male   <NA>     male
## 54    male   male     <NA>
## 55  female female     <NA>
## 56    male   male     <NA>
## 57  female female     <NA>
## 58    male   male     <NA>
## 59  female female     <NA>
## 60  female   <NA>   female
## 61  female female     <NA>
## 62    male   male     <NA>
## 63    male   <NA>     male
## 64  female   <NA>   female
## 65    male   male     <NA>
## 66    male   male     <NA>
## 67    male   male     <NA>
## 68    male   male     <NA>
## 69    male   <NA>     male
## 70    male   male     <NA>
## 71    male   <NA>     male
## 72    male   <NA>     male
## 73    male   <NA>     male
## 74  female female     <NA>
## 75    male   male     <NA>
## 76    male   male     <NA>
## 77    male   <NA>     male
## 78    male   male     <NA>
## 79    male   <NA>     male
## 80  female female     <NA>
## 81           <NA>     <NA>
## 82  female   <NA>   female
## 83    male   <NA>     male
## 84  female female     <NA>
## 85  female female     <NA>
## 86    male   <NA>     male
## 87  female female     <NA>
## 88    male   <NA>     male
## 89  female female     <NA>
## 90    male   <NA>     male
## 91    male   <NA>     male
## 92    male   <NA>     male
## 93  female female     <NA>
## 94    male   <NA>     male
## 95    male   male     <NA>
## 96  female female     <NA>
## 97    male   male     <NA>
## 98    male   male     <NA>
## 99  female female     <NA>
## 100 female female     <NA>
## 101   male   <NA>     male
## 102 female female     <NA>
## 103 female female     <NA>
## 104 female   <NA>   female
## 105   male   male     <NA>
## 106   male   <NA>     male
## 107   male   male     <NA>
## 108   male   <NA>     male
## 109   male   male     <NA>
## 110 female female     <NA>
## 111 female   <NA>   female
## 112          <NA>     <NA>
## 113 female   <NA>   female
## 114   male   male     <NA>
## 115 female female     <NA>
## 116   male   <NA>     male
## 117   male   male     <NA>
## 118   male   <NA>     male
## 119 female   <NA>   female
## 120   male   <NA>     male
## 121 female female     <NA>
## 122   male   <NA>     male
## 123 female female     <NA>
## 124   male   <NA>     male
## 125 female female     <NA>
## 126   male   <NA>     male
## 127 female   <NA>   female
## 128   male   male     <NA>
## 129 female female     <NA>
## 130   male   <NA>     male
## 131 female female     <NA>
## 132 female female     <NA>
## 133 female female     <NA>
## 134   male   <NA>     male
## 135   male   male     <NA>
## 136   male   male     <NA>
## 137 female female     <NA>
## 138   male   male     <NA>
## 139 female female     <NA>
## 140          <NA>     <NA>
## 141          <NA>     <NA>
## 142   male   male     <NA>
## 143 female female     <NA>
## 144 female female     <NA>
## 145          <NA>     <NA>
## 146   male   <NA>     male
## 147   male   <NA>     male
## 148   male   <NA>     male
## 149   male   <NA>     male
## 150   male   <NA>     male
## 151          <NA>     <NA>
## 152 female female     <NA>
## 153   male   <NA>     male
## 154 female female     <NA>
## 155 female female     <NA>
## 156 female   <NA>   female
## 157 female female     <NA>
## 158   male   male     <NA>
## 159   male   <NA>     male
## 160 female female     <NA>
## 161 female female     <NA>
## 162 female female     <NA>
## 163 female female     <NA>
## 164   male   <NA>     male
## 165 female   <NA>   female
## 166 female female     <NA>
## 167 female female     <NA>
## 168 female female     <NA>
## 169   male   male     <NA>
## 170 female female     <NA>
## 171   male   male     <NA>
## 172   male   <NA>     male
## 173 female female     <NA>
## 174 female female     <NA>
## 175   male   male     <NA>
## 176 female female     <NA>
## 177   male   <NA>     male
## 178   male   male     <NA>
## 179   male   <NA>     male
## 180 female female     <NA>
## 181   male   <NA>     male
## 182 female female     <NA>
## 183 female female     <NA>
## 184   male   male     <NA>
## 185   male   <NA>     male
## 186   male   <NA>     male
## 187   male   male     <NA>
## 188 female female     <NA>
## 189   male   <NA>     male
## 190   male   male     <NA>
## 191   male   <NA>     male
## 192 female female     <NA>
## 193   male   male     <NA>
## 194   male   <NA>     male
## 195 female female     <NA>
## 196 female female     <NA>
## 197   male   <NA>     male
## 198   male   <NA>     male
## 199 female female     <NA>
## 200   male   male     <NA>
## 201 female female     <NA>
## 202   male   male     <NA>
## 203 female female     <NA>
## 204 female female     <NA>
## 205   male   <NA>     male
## 206   male   male     <NA>
## 207 female female     <NA>
## 208   male   male     <NA>
## 209 female female     <NA>
## 210 female female     <NA>
## 211 female female     <NA>
## 212 female female     <NA>
## 213   male   <NA>     male
## 214          <NA>     <NA>
## 215   male   male     <NA>
## 216   male   male     <NA>
## 217   male   <NA>     male
## 218   male   male     <NA>
## 219 female female     <NA>
## 220 female female     <NA>
## 221   male   male     <NA>
## 222 female female     <NA>
## 223          <NA>     <NA>
## 224   male   male     <NA>
## 225 female female     <NA>
## 226 female female     <NA>
## 227   male   male     <NA>
## 228   male   <NA>     male
## 229 female female     <NA>
## 230   male   <NA>     male
## 231   male   <NA>     male
## 232 female female     <NA>
## 233   male   male     <NA>
## 234 female   <NA>   female
## 235   male   <NA>     male
## 236   male   <NA>     male
## 237   male   male     <NA>
## 238 female female     <NA>
## 239   male   <NA>     male
## 240   male   male     <NA>
## 241   male   <NA>     male
## 242   male   <NA>     male
## 243 female female     <NA>
## 244   male   <NA>     male
## 245 female female     <NA>
## 246 female female     <NA>
## 247   male   male     <NA>
## 248 female female     <NA>
## 249          <NA>     <NA>
## 250 female female     <NA>
## 251   male   male     <NA>
## 252 female female     <NA>
## 253 female female     <NA>
## 254 female female     <NA>
## 255   male   male     <NA>
## 256 female female     <NA>
## 257   male   <NA>     male
## 258   male   male     <NA>
## 259   male   <NA>     male
## 260   male   male     <NA>
## 261   male   <NA>     male
## 262 female female     <NA>
## 263   male   <NA>     male
## 264 female female     <NA>
## 265 female   <NA>   female
## 266 female female     <NA>
## 267 female female     <NA>
## 268 female female     <NA>
## 269 female female     <NA>
## 270   male   male     <NA>
## 271 female female     <NA>
## 272   male   <NA>     male
## 273   male   male     <NA>
## 274   male   <NA>     male
## 275   male   <NA>     male
## 276 female female     <NA>
## 277 female female     <NA>
## 278 female female     <NA>
## 279 female female     <NA>
## 280   male   male     <NA>
## 281   male   <NA>     male
## 282   male   male     <NA>
## 283   male   male     <NA>
## 284   male   male     <NA>
## 285 female female     <NA>
## 286 female female     <NA>
## 287 female female     <NA>
## 288 female female     <NA>
## 289   male   <NA>     male
## 290   male   male     <NA>
## 291   male   male     <NA>
## 292 female   <NA>   female
## 293 female female     <NA>
## 294   male   <NA>     male
## 295   male   <NA>     male
## 296   male   <NA>     male
## 297   male   male     <NA>
## 298 female   <NA>   female
## 299   male   <NA>     male
## 300   male   male     <NA>
## 301 female female     <NA>
## 302   male   male     <NA>
## 303   male   <NA>     male
## 304   male   male     <NA>
## 305   male   male     <NA>
## 306   male   male     <NA>
## 307   male   male     <NA>
## 308   male   male     <NA>
## 309   male   male     <NA>
## 310   male   <NA>     male
## 311 female   <NA>   female
## 312 female female     <NA>
## 313   male   <NA>     male
## 314 female female     <NA>
## 315   male   <NA>     male
## 316   male   <NA>     male
## 317 female female     <NA>
## 318   male   male     <NA>
## 319   male   <NA>     male
## 320   male   <NA>     male
## 321   male   <NA>     male
## 322   male   <NA>     male
## 323   male   male     <NA>
## 324   male   male     <NA>
## 325   male   male     <NA>
## 326 female female     <NA>
## 327 female female     <NA>
## 328 female female     <NA>
## 329   male   male     <NA>
## 330          <NA>     <NA>
## 331   male   <NA>     male
## 332          <NA>     <NA>
## 333 female female     <NA>
## 334 female female     <NA>
## 335   male   <NA>     male
## 336 female female     <NA>
## 337 female female     <NA>
## 338 female female     <NA>
## 339   male   male     <NA>
## 340   male   <NA>     male
## 341 female female     <NA>
## 342   male   <NA>     male
## 343   male   <NA>     male
## 344 female female     <NA>
## 345 female female     <NA>
## 346   male   male     <NA>
## 347   male   <NA>     male
## 348 female female     <NA>
## 349 female female     <NA>
## 350   male   male     <NA>
## 351   male   male     <NA>
## 352   male   <NA>     male
## 353   male   <NA>     male
## 354 female female     <NA>
## 355   male   male     <NA>
## 356 female female     <NA>
## 357   male   <NA>     male
## 358   male   <NA>     male
## 359   male   male     <NA>
## 360   male   male     <NA>
## 361   male   <NA>     male
## 362   male   <NA>     male
## 363 female female     <NA>
## 364   male   <NA>     male
## 365   male   male     <NA>
## 366   male   <NA>     male
## 367   male   <NA>     male
## 368   male   <NA>     male
## 369 female female     <NA>
## 370   male   male     <NA>
## 371 female female     <NA>
## 372 female   <NA>   female
## 373 female female     <NA>
## 374 female female     <NA>
## 375   male   male     <NA>
## 376 female female     <NA>
## 377   male   male     <NA>
## 378   male   male     <NA>
## 379 female female     <NA>
## 380   male   <NA>     male
## 381   male   <NA>     male
## 382   male   male     <NA>
## 383   male   male     <NA>
## 384   male   <NA>     male
## 385 female   <NA>   female
## 386   male   <NA>     male
## 387   male   <NA>     male
## 388   male   <NA>     male
## 389   male   <NA>     male
## 390   male   male     <NA>
## 391   male   <NA>     male
## 392   male   <NA>     male
## 393 female female     <NA>
## 394   male   <NA>     male
## 395 female female     <NA>
## 396 female female     <NA>
## 397   male   <NA>     male
## 398   male   male     <NA>
## 399 female female     <NA>
## 400 female female     <NA>
## 401   male   <NA>     male
## 402   male   <NA>     male
## 403 female female     <NA>
## 404 female female     <NA>
## 405   male   <NA>     male
## 406 female female     <NA>
data4 <- cbind(data4,datota2) #juntar la data.frame a la BD
data4$SEX
##   [1] "male"   "male"   "male"   "female" "female" "male"   "male"   "female"
##   [9] "male"   "female" "female" "male"   "male"   "female" "male"   "male"  
##  [17] "male"   "female" "male"   "male"   "male"   "female" "male"   "female"
##  [25] "male"   "male"   "male"   "male"   "male"   "female" "male"   "male"  
##  [33] "female" "female" "male"   "male"   "female" "female" "male"   "male"  
##  [41] "male"   "male"   "male"   "female" "male"   "male"   "female" ""      
##  [49] "female" "male"   "female" "male"   "male"   "male"   "female" "male"  
##  [57] "female" "male"   "female" "female" "female" "male"   "male"   "female"
##  [65] "male"   "male"   "male"   "male"   "male"   "male"   "male"   "male"  
##  [73] "male"   "female" "male"   "male"   "male"   "male"   "male"   "female"
##  [81] ""       "female" "male"   "female" "female" "male"   "female" "male"  
##  [89] "female" "male"   "male"   "male"   "female" "male"   "male"   "female"
##  [97] "male"   "male"   "female" "female" "male"   "female" "female" "female"
## [105] "male"   "male"   "male"   "male"   "male"   "female" "female" ""      
## [113] "female" "male"   "female" "male"   "male"   "male"   "female" "male"  
## [121] "female" "male"   "female" "male"   "female" "male"   "female" "male"  
## [129] "female" "male"   "female" "female" "female" "male"   "male"   "male"  
## [137] "female" "male"   "female" ""       ""       "male"   "female" "female"
## [145] ""       "male"   "male"   "male"   "male"   "male"   ""       "female"
## [153] "male"   "female" "female" "female" "female" "male"   "male"   "female"
## [161] "female" "female" "female" "male"   "female" "female" "female" "female"
## [169] "male"   "female" "male"   "male"   "female" "female" "male"   "female"
## [177] "male"   "male"   "male"   "female" "male"   "female" "female" "male"  
## [185] "male"   "male"   "male"   "female" "male"   "male"   "male"   "female"
## [193] "male"   "male"   "female" "female" "male"   "male"   "female" "male"  
## [201] "female" "male"   "female" "female" "male"   "male"   "female" "male"  
## [209] "female" "female" "female" "female" "male"   ""       "male"   "male"  
## [217] "male"   "male"   "female" "female" "male"   "female" ""       "male"  
## [225] "female" "female" "male"   "male"   "female" "male"   "male"   "female"
## [233] "male"   "female" "male"   "male"   "male"   "female" "male"   "male"  
## [241] "male"   "male"   "female" "male"   "female" "female" "male"   "female"
## [249] ""       "female" "male"   "female" "female" "female" "male"   "female"
## [257] "male"   "male"   "male"   "male"   "male"   "female" "male"   "female"
## [265] "female" "female" "female" "female" "female" "male"   "female" "male"  
## [273] "male"   "male"   "male"   "female" "female" "female" "female" "male"  
## [281] "male"   "male"   "male"   "male"   "female" "female" "female" "female"
## [289] "male"   "male"   "male"   "female" "female" "male"   "male"   "male"  
## [297] "male"   "female" "male"   "male"   "female" "male"   "male"   "male"  
## [305] "male"   "male"   "male"   "male"   "male"   "male"   "female" "female"
## [313] "male"   "female" "male"   "male"   "female" "male"   "male"   "male"  
## [321] "male"   "male"   "male"   "male"   "male"   "female" "female" "female"
## [329] "male"   ""       "male"   ""       "female" "female" "male"   "female"
## [337] "female" "female" "male"   "male"   "female" "male"   "male"   "female"
## [345] "female" "male"   "male"   "female" "female" "male"   "male"   "male"  
## [353] "male"   "female" "male"   "female" "male"   "male"   "male"   "male"  
## [361] "male"   "male"   "female" "male"   "male"   "male"   "male"   "male"  
## [369] "female" "male"   "female" "female" "female" "female" "male"   "female"
## [377] "male"   "male"   "female" "male"   "male"   "male"   "male"   "male"  
## [385] "female" "male"   "male"   "male"   "male"   "male"   "male"   "male"  
## [393] "female" "male"   "female" "female" "male"   "male"   "female" "female"
## [401] "male"   "male"   "female" "female" "male"   "female"
# Eliminar casos duplicados
library(dplyr)
data4 <- select(data4,-sex,-sexother) #eliminando
#data4 <- distinct(data4) #eliminar variables duplicadas; sin embargo, en este caso no aplica pues el nombre de la columna es distinto
data5 <- as_tibble(data4)

write_csv(data5, "C:/Users/MICHELLE/OneDrive/Escritorio/Rstudio_prac/Data para analizar con R.csv")
# output: false

attach(data5)
## The following objects are masked from data4:
## 
##     abduction_o_rkidnapping_asylum, abduction_o_rkidnapping_orgin,
##     abduction_o_rkidnapping_othercity, abduction_o_rkidnapping_trip,
##     able_bodied, applied_refugee, appliedrejected,
##     arrest_o_rdetention_asylum, arrest_o_rdetention_orgin,
##     arrest_o_rdetention_othercity, arrest_o_rdetention_trip,
##     arrive_thiscountry, bathroom, childinschool, childvirtualed,
##     childwhynotschool_childwork, childwhynotschool_disability,
##     childwhynotschool_discrimethnic, childwhynotschool_discrimnation,
##     childwhynotschool_disease, childwhynotschool_failedschool,
##     childwhynotschool_fearschool, childwhynotschool_finished,
##     childwhynotschool_helphome, childwhynotschool_intransit,
##     childwhynotschool_nodocs, childwhynotschool_noinfo,
##     childwhynotschool_nointerest, childwhynotschool_nolanguage,
##     childwhynotschool_nomoney, childwhynotschool_noschools,
##     childwhynotschool_nospot, childwhynotschool_notransport,
##     childwhynotschool_other, childwhynotschool_pregnancy,
##     childwhynotschool_recentlyarrive, childwhynotschool_toolate,
##     communication, confined_asylum, confined_orgin, confined_othercity,
##     consent_score, coping_mechanism1_aid_agency,
##     coping_mechanism1_aid_host, coping_mechanism1_borrow_money,
##     coping_mechanism1_changed_shelter,
##     coping_mechanism1_family_support,
##     coping_mechanism1_limit_adult_food, coping_mechanism1_none,
##     coping_mechanism1_notell, coping_mechanism1_other,
##     coping_mechanism1_reduce_exp, coping_mechanism1_reduced_food,
##     coping_mechanism1_sell_assets, coping_mechanism1_skipped_rent,
##     coping_mechanism1_use_savings, coping_mechanism1_work_food,
##     coping_mechanism2_beg, coping_mechanism2_childmarriage,
##     coping_mechanism2_foodscrap, coping_mechanism2_none,
##     coping_mechanism2_notell, coping_mechanism2_other,
##     coping_mechanism2_sendchild, coping_mechanism2_survivalsex,
##     coping_mechanism2_workchild, country_of_asylum,
##     covidimpact_amenaza, covidimpact_amenazadesa,
##     covidimpact_corteserv, covidimpact_desalojo, covidimpact_deuda,
##     covidimpact_educlimitada, covidimpact_noneimp,
##     covidimpact_otherimp, covidimpact_saludfisica,
##     covidimpact_saludmental1, covidimpact_saludmental2, crossedborder,
##     departure_date, dependency_category, dependency_ratio,
##     deport_country_argentina, deport_country_bolivia,
##     deport_country_brazil, deport_country_chile,
##     deport_country_colombia, deport_country_costa_rica,
##     deport_country_cuba, deport_country_curacao,
##     deport_country_ecuador, deport_country_guatemala,
##     deport_country_honduras, deport_country_mexico,
##     deport_country_other, deport_country_panama, deport_country_peru,
##     deport_country_suriname, deport_country_usa,
##     deport_country_venezuela, deportation_asylum, deportation_orgin,
##     deportation_prefer_not, deportation_trip,
##     destruction_property_asylum, destruction_property_orgin,
##     destruction_property_othercity, destruction_property_trip,
##     disabilityacc_disabilityserv, disabilityacc_docacc,
##     disabilityacc_houselimit, disabilityacc_none,
##     disabilityacc_privins, disabilityacc_publicins,
##     disabilityacc_pubspaces, disabilityacc_transport,
##     disabilityacc_worklimit, discriminated, discriminated_reasons_age,
##     discriminated_reasons_disability, discriminated_reasons_ethnictiy,
##     discriminated_reasons_female, discriminated_reasons_gender,
##     discriminated_reasons_male, discriminated_reasons_nationality,
##     discriminated_reasons_other, discriminated_reasons_religion,
##     dispossetion_asylum, dispossetion_orgin, dispossetion_othercity,
##     dispossetion_trip, doc_residence, documentation_birthcertif,
##     documentation_id, documentation_idexp, documentation_none,
##     documentation_notell, documentation_other, documentation_passport,
##     documentation_passportexp, electricity, employment_opp,
##     eviction_asylum, eviction_orgin, eviction_othercity,
##     eviction_prefer_not, eviction_trip, evictionthreat_asylum,
##     evictionthreat_orgin, evictionthreat_othercity,
##     evictionthreat_trip, exploitationsex_asylum, exploitationsex_orgin,
##     exploitationsex_othercity, exploitationwork_asylum,
##     exploitationwork_orgin, exploitationwork_othercity,
##     exploitationwork_trip, familiy_left, feel_safe,
##     forceddisplaced_asylum, forceddisplaced_orgin,
##     forceddisplaced_othercity, forceddisplaced_trip, fraud_asylum,
##     fraud_orgin, fraud_othercity, fraud_trip, groupsize, headof,
##     homicide_asylum, homicide_orgin, homicide_othercity, homicide_trip,
##     household_leftbehind, housingtype, id,
##     income4basicneeds_actividadeco, income4basicneeds_ahorro,
##     income4basicneeds_apoyocomm, income4basicneeds_apoyohuman,
##     income4basicneeds_nosource, income4basicneeds_othersource,
##     income4basicneeds_remesas, income4basicneeds_venderbienes,
##     intention, intentionmove, intentionspctr, interaction,
##     interviewstat, isolation, jobafter, jobbefore,
##     kidscannotschool_no_mat_cupo, kidscannotschool_no_mat_rec,
##     kidscannotschool_otro_educ, kidscannotschool_sin_recuros,
##     kidscanschoolhow_downloadplat, kidscanschoolhow_interactplat,
##     kidscanschoolhow_materialsdeliv, kidscanschoolhow_materialswhats,
##     kidscanschoolhow_radioortv, marital_status, marital_statusother,
##     mealsperday, measure_acuerdoarren, measure_asistlegal,
##     measure_extension, measure_mudarhost, measure_mudartemp,
##     measure_nonem, measure_otherm, measure_prestamo,
##     measure_regresopai, medical_attention, medical_received,
##     medical_type_center, medical_type_clinic, medical_type_hospital,
##     medical_type_other, medicowhat_atenpsicosoc,
##     medicowhat_enfercronicas, medicowhat_otrono_c19,
##     medicowhat_prenatalpediatrico, medicowhat_prueba_c19,
##     medicowhat_tratamiento_c19, mentalhealthsymp_couple,
##     mentalhealthsymp_famfriend, mentalhealthsymp_ngos,
##     mentalhealthsymp_no_one, mentalhealthsymp_none,
##     mentalhealthsymp_notell, mentalhealthsymp_other,
##     mentalhealthsymp_religious, mentalhealthsymp_stateresource,
##     mentalhealthsymp_unorgs, minorsleft, monitoring_date, nationality,
##     not_asylum_costs, not_asylum_distance, not_asylum_lack_of_docume,
##     not_asylum_lack_of_inform, not_asylum_lack_time,
##     not_asylum_not_allowed_in, not_asylum_other,
##     physical_assault_asylum, physical_assault_orgin,
##     physical_assault_othercity, physical_assault_trip, pressneeds,
##     prevdeport_none, prevdeport_yes_forcedreturn,
##     prevdeport_yes_refusedentry, prevdeport_yesdeport,
##     probconvivencia_cargadomes, probconvivencia_conflictos,
##     probconvivencia_ninosdif, probconvivencia_noseguro,
##     probconvivencia_parejadif, probconvivencia_sin_problema,
##     razon_falta_asist_med_atencion_negad,
##     razon_falta_asist_med_atencion_susp,
##     razon_falta_asist_med_falta_if, razon_falta_asist_med_falta_info,
##     razon_falta_asist_med_falta_recursos,
##     razon_falta_asist_med_falta_seg_med,
##     razon_falta_asist_med_otro_at_med, razon_riesgo_autoridades,
##     razon_riesgo_no_pago, razon_riesgo_other,
##     razon_riesgo_propietarioa, razon_riesgo_vencio_plazo,
##     razon_violencia_aumenta_aislamien,
##     razon_violencia_aumenta_dependen, razon_violencia_aumenta_economi,
##     razon_violencia_aumenta_estres, razon_violencia_aumenta_justicia,
##     razon_violencia_aumenta_otro_viol,
##     razon_violencia_aumenta_servici_gbv, reasons_stayed_border_close,
##     reasons_stayed_care_property, reasons_stayed_caring_dependant,
##     reasons_stayed_continued, reasons_stayed_dont_know,
##     reasons_stayed_health_prob, reasons_stayed_lack_docs,
##     reasons_stayed_lack_funds, reasons_stayed_notell,
##     reasons_stayed_old_age, reasons_stayed_other,
##     reasons_stayed_othercountry, reasons_stayed_returned,
##     reasons_stayed_security, reasons_stayed_stayed,
##     reasons_stayed_work_study, reasonsreturn_discrim,
##     reasonsreturn_familyleft, reasonsreturn_houseloss,
##     reasonsreturn_jobloss, reasonsreturn_nodocs, reasonsreturn_nomeds,
##     reasonsreturn_other, reasonsreturn_violence, regular_entry,
##     remoteorinperson, risk_return_armedgroup, risk_return_assaulted,
##     risk_return_extorsion, risk_return_healthrisk,
##     risk_return_insecurity, risk_return_lackfood, risk_return_medical,
##     risk_return_other, risk_return_recruited,
##     risk_return_risk_prefer_not, risk_return_subsistence,
##     risk_return_threat, risk_return_violence, risk_stay_armedgroup,
##     risk_stay_assaulted, risk_stay_extorsion, risk_stay_healthrisk,
##     risk_stay_insecurity, risk_stay_lackfood, risk_stay_medical,
##     risk_stay_other, risk_stay_recruited, risk_stay_subsistence,
##     risk_stay_threat, risk_stay_violence, risk_yes, route_incident,
##     route_incident_type_abduction, route_incident_type_arrest,
##     route_incident_type_bribery, route_incident_type_confine,
##     route_incident_type_deportation, route_incident_type_despojo,
##     route_incident_type_destruct_prop, route_incident_type_displaced,
##     route_incident_type_eviction, route_incident_type_evictionthreat,
##     route_incident_type_exploitsex, route_incident_type_exploitwork,
##     route_incident_type_force_disappear,
##     route_incident_type_forced_recruit, route_incident_type_fraud,
##     route_incident_type_homicide, route_incident_type_notell,
##     route_incident_type_other, route_incident_type_phys_assault,
##     route_incident_type_sexual_assault, route_incident_type_theft,
##     route_incident_type_threat, route_incident_type_torture,
##     route_incident_typenodisp_abduct, route_incident_typenodisp_arrest,
##     route_incident_typenodisp_bribery,
##     route_incident_typenodisp_deportat,
##     route_incident_typenodisp_destr_pro,
##     route_incident_typenodisp_evicthr,
##     route_incident_typenodisp_eviction,
##     route_incident_typenodisp_explsex,
##     route_incident_typenodisp_explwork,
##     route_incident_typenodisp_fraud,
##     route_incident_typenodisp_homicide,
##     route_incident_typenodisp_other,
##     route_incident_typenodisp_phys_ass,
##     route_incident_typenodisp_sex_ass, route_incident_typenodisp_theft,
##     route_incident_typenodisp_threat, sexual_assault_asylum,
##     sexual_assault_orgin, sexual_assault_othercity,
##     sexual_assault_trip, short_cbi, social_benefit_communities,
##     social_benefit_gov_auxdoenca, social_benefit_gov_auxilio,
##     social_benefit_gov_bolsa, social_benefit_gov_bpc,
##     social_benefit_gov_other, social_benefit_gvt, social_benefit_ngo,
##     social_benefit_none, social_benefit_other,
##     social_benefit_religious, social_benefit_type_cash,
##     social_benefit_type_education, social_benefit_type_foodbag,
##     social_benefit_type_foodcard, social_benefit_type_foodkit,
##     social_benefit_type_foodration, social_benefit_type_housing,
##     social_benefit_type_hygiene, social_benefit_type_livelihood,
##     social_benefit_type_med, social_benefit_type_medical,
##     social_benefit_type_other, social_benefit_type_pss,
##     social_benefit_type_psych, social_benefit_type_relocate,
##     specific_needs_none, stafforpartner, theft_asylum, theft_orgin,
##     theft_othercity, theft_prefer_not, theft_trip, threat_asylum,
##     threat_orgin, threat_othercity, threat_trip, total_adult,
##     total_adult_female, total_adult_male, total_minor,
##     total_minor_female, total_minor_male, transit_countries_argentina,
##     transit_countries_bolivia, transit_countries_brazil,
##     transit_countries_canada, transit_countries_chile,
##     transit_countries_colombia, transit_countries_cuba,
##     transit_countries_ecuador, transit_countries_nicaragua,
##     transit_countries_other, transit_countries_panama,
##     transit_countries_paraguay, transit_countries_peru,
##     transit_countries_uruguay, transit_countries_venezuela,
##     transport_method_boat, transport_method_bus, transport_method_car,
##     transport_method_hitch_hiking, transport_method_other,
##     transport_method_plane, transport_method_taxi,
##     transport_method_walk, water, weight, whynot_medical_denied,
##     whynot_medical_distance, whynot_medical_feararrested,
##     whynot_medical_no_id, whynot_medical_noinfo,
##     whynot_medical_noinsurance, whynot_medical_nomoney,
##     whynot_medical_notavailable, whynot_medical_other,
##     workchangedhow_aumento_horas, workchangedhow_aumento_trabajo,
##     workchangedhow_negocio, workchangedhow_otro_laboral
#install.packages("crosstable")
library(crosstable)
## 
## Attaching package: 'crosstable'
## The following object is masked from 'package:purrr':
## 
##     compact
library(flextable)
## 
## Attaching package: 'flextable'
## The following object is masked from 'package:purrr':
## 
##     compose
library(labelled)
## 
## Attaching package: 'labelled'
## The following object is masked from 'package:crosstable':
## 
##     remove_labels
library(stringr)

var_label(data5$AGE) <- "Grupo_etario"
var_label(data5$SEX) <- "Genero"

tabulado <- function(pregunta) {crosstable(data5, c(AGE, SEX), by = pregunta, total = "both",
             percent_digits = 1, percent_pattern = "{p_row}") %>% as_flextable(label = TRUE)}

tab_edad <- function(pregunta) {crosstable(data5, AGE, by = pregunta, total = "both", percent_digits = 1, percent_pattern = "{p_row}") %>% as_flextable(label = TRUE, keep_id = FALSE)}

tab_genero <- function(pregunta) {crosstable(data5, SEX, by = pregunta, total = "both",             percent_digits = 1, percent_pattern = "{p_row}") %>% as_flextable(label = TRUE, keep_id = FALSE)}

attach(data5)
## The following objects are masked from data5 (pos = 6):
## 
##     abduction_o_rkidnapping_asylum, abduction_o_rkidnapping_orgin,
##     abduction_o_rkidnapping_othercity, abduction_o_rkidnapping_trip,
##     able_bodied, AGE, applied_refugee, appliedrejected,
##     arrest_o_rdetention_asylum, arrest_o_rdetention_orgin,
##     arrest_o_rdetention_othercity, arrest_o_rdetention_trip,
##     arrive_thiscountry, bathroom, childinschool, childvirtualed,
##     childwhynotschool_childwork, childwhynotschool_disability,
##     childwhynotschool_discrimethnic, childwhynotschool_discrimnation,
##     childwhynotschool_disease, childwhynotschool_failedschool,
##     childwhynotschool_fearschool, childwhynotschool_finished,
##     childwhynotschool_helphome, childwhynotschool_intransit,
##     childwhynotschool_nodocs, childwhynotschool_noinfo,
##     childwhynotschool_nointerest, childwhynotschool_nolanguage,
##     childwhynotschool_nomoney, childwhynotschool_noschools,
##     childwhynotschool_nospot, childwhynotschool_notransport,
##     childwhynotschool_other, childwhynotschool_pregnancy,
##     childwhynotschool_recentlyarrive, childwhynotschool_toolate,
##     communication, confined_asylum, confined_orgin, confined_othercity,
##     consent_score, coping_mechanism1_aid_agency,
##     coping_mechanism1_aid_host, coping_mechanism1_borrow_money,
##     coping_mechanism1_changed_shelter,
##     coping_mechanism1_family_support,
##     coping_mechanism1_limit_adult_food, coping_mechanism1_none,
##     coping_mechanism1_notell, coping_mechanism1_other,
##     coping_mechanism1_reduce_exp, coping_mechanism1_reduced_food,
##     coping_mechanism1_sell_assets, coping_mechanism1_skipped_rent,
##     coping_mechanism1_use_savings, coping_mechanism1_work_food,
##     coping_mechanism2_beg, coping_mechanism2_childmarriage,
##     coping_mechanism2_foodscrap, coping_mechanism2_none,
##     coping_mechanism2_notell, coping_mechanism2_other,
##     coping_mechanism2_sendchild, coping_mechanism2_survivalsex,
##     coping_mechanism2_workchild, country_of_asylum,
##     covidimpact_amenaza, covidimpact_amenazadesa,
##     covidimpact_corteserv, covidimpact_desalojo, covidimpact_deuda,
##     covidimpact_educlimitada, covidimpact_noneimp,
##     covidimpact_otherimp, covidimpact_saludfisica,
##     covidimpact_saludmental1, covidimpact_saludmental2, crossedborder,
##     departure_date, dependency_category, dependency_ratio,
##     deport_country_argentina, deport_country_bolivia,
##     deport_country_brazil, deport_country_chile,
##     deport_country_colombia, deport_country_costa_rica,
##     deport_country_cuba, deport_country_curacao,
##     deport_country_ecuador, deport_country_guatemala,
##     deport_country_honduras, deport_country_mexico,
##     deport_country_other, deport_country_panama, deport_country_peru,
##     deport_country_suriname, deport_country_usa,
##     deport_country_venezuela, deportation_asylum, deportation_orgin,
##     deportation_prefer_not, deportation_trip,
##     destruction_property_asylum, destruction_property_orgin,
##     destruction_property_othercity, destruction_property_trip,
##     disabilityacc_disabilityserv, disabilityacc_docacc,
##     disabilityacc_houselimit, disabilityacc_none,
##     disabilityacc_privins, disabilityacc_publicins,
##     disabilityacc_pubspaces, disabilityacc_transport,
##     disabilityacc_worklimit, discriminated, discriminated_reasons_age,
##     discriminated_reasons_disability, discriminated_reasons_ethnictiy,
##     discriminated_reasons_female, discriminated_reasons_gender,
##     discriminated_reasons_male, discriminated_reasons_nationality,
##     discriminated_reasons_other, discriminated_reasons_religion,
##     dispossetion_asylum, dispossetion_orgin, dispossetion_othercity,
##     dispossetion_trip, doc_residence, documentation_birthcertif,
##     documentation_id, documentation_idexp, documentation_none,
##     documentation_notell, documentation_other, documentation_passport,
##     documentation_passportexp, electricity, employment_opp,
##     eviction_asylum, eviction_orgin, eviction_othercity,
##     eviction_prefer_not, eviction_trip, evictionthreat_asylum,
##     evictionthreat_orgin, evictionthreat_othercity,
##     evictionthreat_trip, exploitationsex_asylum, exploitationsex_orgin,
##     exploitationsex_othercity, exploitationwork_asylum,
##     exploitationwork_orgin, exploitationwork_othercity,
##     exploitationwork_trip, familiy_left, feel_safe,
##     forceddisplaced_asylum, forceddisplaced_orgin,
##     forceddisplaced_othercity, forceddisplaced_trip, fraud_asylum,
##     fraud_orgin, fraud_othercity, fraud_trip, groupsize, headof,
##     homicide_asylum, homicide_orgin, homicide_othercity, homicide_trip,
##     household_leftbehind, housingtype, id,
##     income4basicneeds_actividadeco, income4basicneeds_ahorro,
##     income4basicneeds_apoyocomm, income4basicneeds_apoyohuman,
##     income4basicneeds_nosource, income4basicneeds_othersource,
##     income4basicneeds_remesas, income4basicneeds_venderbienes,
##     intention, intentionmove, intentionspctr, interaction,
##     interviewstat, isolation, jobafter, jobbefore,
##     kidscannotschool_no_mat_cupo, kidscannotschool_no_mat_rec,
##     kidscannotschool_otro_educ, kidscannotschool_sin_recuros,
##     kidscanschoolhow_downloadplat, kidscanschoolhow_interactplat,
##     kidscanschoolhow_materialsdeliv, kidscanschoolhow_materialswhats,
##     kidscanschoolhow_radioortv, marital_status, marital_statusother,
##     mealsperday, measure_acuerdoarren, measure_asistlegal,
##     measure_extension, measure_mudarhost, measure_mudartemp,
##     measure_nonem, measure_otherm, measure_prestamo,
##     measure_regresopai, medical_attention, medical_received,
##     medical_type_center, medical_type_clinic, medical_type_hospital,
##     medical_type_other, medicowhat_atenpsicosoc,
##     medicowhat_enfercronicas, medicowhat_otrono_c19,
##     medicowhat_prenatalpediatrico, medicowhat_prueba_c19,
##     medicowhat_tratamiento_c19, mentalhealthsymp_couple,
##     mentalhealthsymp_famfriend, mentalhealthsymp_ngos,
##     mentalhealthsymp_no_one, mentalhealthsymp_none,
##     mentalhealthsymp_notell, mentalhealthsymp_other,
##     mentalhealthsymp_religious, mentalhealthsymp_stateresource,
##     mentalhealthsymp_unorgs, minorsleft, monitoring_date, nationality,
##     not_asylum_costs, not_asylum_distance, not_asylum_lack_of_docume,
##     not_asylum_lack_of_inform, not_asylum_lack_time,
##     not_asylum_not_allowed_in, not_asylum_other,
##     physical_assault_asylum, physical_assault_orgin,
##     physical_assault_othercity, physical_assault_trip, pressneeds,
##     prevdeport_none, prevdeport_yes_forcedreturn,
##     prevdeport_yes_refusedentry, prevdeport_yesdeport,
##     probconvivencia_cargadomes, probconvivencia_conflictos,
##     probconvivencia_ninosdif, probconvivencia_noseguro,
##     probconvivencia_parejadif, probconvivencia_sin_problema,
##     razon_falta_asist_med_atencion_negad,
##     razon_falta_asist_med_atencion_susp,
##     razon_falta_asist_med_falta_if, razon_falta_asist_med_falta_info,
##     razon_falta_asist_med_falta_recursos,
##     razon_falta_asist_med_falta_seg_med,
##     razon_falta_asist_med_otro_at_med, razon_riesgo_autoridades,
##     razon_riesgo_no_pago, razon_riesgo_other,
##     razon_riesgo_propietarioa, razon_riesgo_vencio_plazo,
##     razon_violencia_aumenta_aislamien,
##     razon_violencia_aumenta_dependen, razon_violencia_aumenta_economi,
##     razon_violencia_aumenta_estres, razon_violencia_aumenta_justicia,
##     razon_violencia_aumenta_otro_viol,
##     razon_violencia_aumenta_servici_gbv, reasons_stayed_border_close,
##     reasons_stayed_care_property, reasons_stayed_caring_dependant,
##     reasons_stayed_continued, reasons_stayed_dont_know,
##     reasons_stayed_health_prob, reasons_stayed_lack_docs,
##     reasons_stayed_lack_funds, reasons_stayed_notell,
##     reasons_stayed_old_age, reasons_stayed_other,
##     reasons_stayed_othercountry, reasons_stayed_returned,
##     reasons_stayed_security, reasons_stayed_stayed,
##     reasons_stayed_work_study, reasonsreturn_discrim,
##     reasonsreturn_familyleft, reasonsreturn_houseloss,
##     reasonsreturn_jobloss, reasonsreturn_nodocs, reasonsreturn_nomeds,
##     reasonsreturn_other, reasonsreturn_violence, regular_entry,
##     remoteorinperson, risk_return_armedgroup, risk_return_assaulted,
##     risk_return_extorsion, risk_return_healthrisk,
##     risk_return_insecurity, risk_return_lackfood, risk_return_medical,
##     risk_return_other, risk_return_recruited,
##     risk_return_risk_prefer_not, risk_return_subsistence,
##     risk_return_threat, risk_return_violence, risk_stay_armedgroup,
##     risk_stay_assaulted, risk_stay_extorsion, risk_stay_healthrisk,
##     risk_stay_insecurity, risk_stay_lackfood, risk_stay_medical,
##     risk_stay_other, risk_stay_recruited, risk_stay_subsistence,
##     risk_stay_threat, risk_stay_violence, risk_yes, route_incident,
##     route_incident_type_abduction, route_incident_type_arrest,
##     route_incident_type_bribery, route_incident_type_confine,
##     route_incident_type_deportation, route_incident_type_despojo,
##     route_incident_type_destruct_prop, route_incident_type_displaced,
##     route_incident_type_eviction, route_incident_type_evictionthreat,
##     route_incident_type_exploitsex, route_incident_type_exploitwork,
##     route_incident_type_force_disappear,
##     route_incident_type_forced_recruit, route_incident_type_fraud,
##     route_incident_type_homicide, route_incident_type_notell,
##     route_incident_type_other, route_incident_type_phys_assault,
##     route_incident_type_sexual_assault, route_incident_type_theft,
##     route_incident_type_threat, route_incident_type_torture,
##     route_incident_typenodisp_abduct, route_incident_typenodisp_arrest,
##     route_incident_typenodisp_bribery,
##     route_incident_typenodisp_deportat,
##     route_incident_typenodisp_destr_pro,
##     route_incident_typenodisp_evicthr,
##     route_incident_typenodisp_eviction,
##     route_incident_typenodisp_explsex,
##     route_incident_typenodisp_explwork,
##     route_incident_typenodisp_fraud,
##     route_incident_typenodisp_homicide,
##     route_incident_typenodisp_other,
##     route_incident_typenodisp_phys_ass,
##     route_incident_typenodisp_sex_ass, route_incident_typenodisp_theft,
##     route_incident_typenodisp_threat, SEX, sexual_assault_asylum,
##     sexual_assault_orgin, sexual_assault_othercity,
##     sexual_assault_trip, short_cbi, social_benefit_communities,
##     social_benefit_gov_auxdoenca, social_benefit_gov_auxilio,
##     social_benefit_gov_bolsa, social_benefit_gov_bpc,
##     social_benefit_gov_other, social_benefit_gvt, social_benefit_ngo,
##     social_benefit_none, social_benefit_other,
##     social_benefit_religious, social_benefit_type_cash,
##     social_benefit_type_education, social_benefit_type_foodbag,
##     social_benefit_type_foodcard, social_benefit_type_foodkit,
##     social_benefit_type_foodration, social_benefit_type_housing,
##     social_benefit_type_hygiene, social_benefit_type_livelihood,
##     social_benefit_type_med, social_benefit_type_medical,
##     social_benefit_type_other, social_benefit_type_pss,
##     social_benefit_type_psych, social_benefit_type_relocate,
##     specific_needs_none, stafforpartner, theft_asylum, theft_orgin,
##     theft_othercity, theft_prefer_not, theft_trip, threat_asylum,
##     threat_orgin, threat_othercity, threat_trip, total_adult,
##     total_adult_female, total_adult_male, total_minor,
##     total_minor_female, total_minor_male, transit_countries_argentina,
##     transit_countries_bolivia, transit_countries_brazil,
##     transit_countries_canada, transit_countries_chile,
##     transit_countries_colombia, transit_countries_cuba,
##     transit_countries_ecuador, transit_countries_nicaragua,
##     transit_countries_other, transit_countries_panama,
##     transit_countries_paraguay, transit_countries_peru,
##     transit_countries_uruguay, transit_countries_venezuela,
##     transport_method_boat, transport_method_bus, transport_method_car,
##     transport_method_hitch_hiking, transport_method_other,
##     transport_method_plane, transport_method_taxi,
##     transport_method_walk, water, weight, whynot_medical_denied,
##     whynot_medical_distance, whynot_medical_feararrested,
##     whynot_medical_no_id, whynot_medical_noinfo,
##     whynot_medical_noinsurance, whynot_medical_nomoney,
##     whynot_medical_notavailable, whynot_medical_other,
##     workchangedhow_aumento_horas, workchangedhow_aumento_trabajo,
##     workchangedhow_negocio, workchangedhow_otro_laboral
## The following objects are masked from data4:
## 
##     abduction_o_rkidnapping_asylum, abduction_o_rkidnapping_orgin,
##     abduction_o_rkidnapping_othercity, abduction_o_rkidnapping_trip,
##     able_bodied, applied_refugee, appliedrejected,
##     arrest_o_rdetention_asylum, arrest_o_rdetention_orgin,
##     arrest_o_rdetention_othercity, arrest_o_rdetention_trip,
##     arrive_thiscountry, bathroom, childinschool, childvirtualed,
##     childwhynotschool_childwork, childwhynotschool_disability,
##     childwhynotschool_discrimethnic, childwhynotschool_discrimnation,
##     childwhynotschool_disease, childwhynotschool_failedschool,
##     childwhynotschool_fearschool, childwhynotschool_finished,
##     childwhynotschool_helphome, childwhynotschool_intransit,
##     childwhynotschool_nodocs, childwhynotschool_noinfo,
##     childwhynotschool_nointerest, childwhynotschool_nolanguage,
##     childwhynotschool_nomoney, childwhynotschool_noschools,
##     childwhynotschool_nospot, childwhynotschool_notransport,
##     childwhynotschool_other, childwhynotschool_pregnancy,
##     childwhynotschool_recentlyarrive, childwhynotschool_toolate,
##     communication, confined_asylum, confined_orgin, confined_othercity,
##     consent_score, coping_mechanism1_aid_agency,
##     coping_mechanism1_aid_host, coping_mechanism1_borrow_money,
##     coping_mechanism1_changed_shelter,
##     coping_mechanism1_family_support,
##     coping_mechanism1_limit_adult_food, coping_mechanism1_none,
##     coping_mechanism1_notell, coping_mechanism1_other,
##     coping_mechanism1_reduce_exp, coping_mechanism1_reduced_food,
##     coping_mechanism1_sell_assets, coping_mechanism1_skipped_rent,
##     coping_mechanism1_use_savings, coping_mechanism1_work_food,
##     coping_mechanism2_beg, coping_mechanism2_childmarriage,
##     coping_mechanism2_foodscrap, coping_mechanism2_none,
##     coping_mechanism2_notell, coping_mechanism2_other,
##     coping_mechanism2_sendchild, coping_mechanism2_survivalsex,
##     coping_mechanism2_workchild, country_of_asylum,
##     covidimpact_amenaza, covidimpact_amenazadesa,
##     covidimpact_corteserv, covidimpact_desalojo, covidimpact_deuda,
##     covidimpact_educlimitada, covidimpact_noneimp,
##     covidimpact_otherimp, covidimpact_saludfisica,
##     covidimpact_saludmental1, covidimpact_saludmental2, crossedborder,
##     departure_date, dependency_category, dependency_ratio,
##     deport_country_argentina, deport_country_bolivia,
##     deport_country_brazil, deport_country_chile,
##     deport_country_colombia, deport_country_costa_rica,
##     deport_country_cuba, deport_country_curacao,
##     deport_country_ecuador, deport_country_guatemala,
##     deport_country_honduras, deport_country_mexico,
##     deport_country_other, deport_country_panama, deport_country_peru,
##     deport_country_suriname, deport_country_usa,
##     deport_country_venezuela, deportation_asylum, deportation_orgin,
##     deportation_prefer_not, deportation_trip,
##     destruction_property_asylum, destruction_property_orgin,
##     destruction_property_othercity, destruction_property_trip,
##     disabilityacc_disabilityserv, disabilityacc_docacc,
##     disabilityacc_houselimit, disabilityacc_none,
##     disabilityacc_privins, disabilityacc_publicins,
##     disabilityacc_pubspaces, disabilityacc_transport,
##     disabilityacc_worklimit, discriminated, discriminated_reasons_age,
##     discriminated_reasons_disability, discriminated_reasons_ethnictiy,
##     discriminated_reasons_female, discriminated_reasons_gender,
##     discriminated_reasons_male, discriminated_reasons_nationality,
##     discriminated_reasons_other, discriminated_reasons_religion,
##     dispossetion_asylum, dispossetion_orgin, dispossetion_othercity,
##     dispossetion_trip, doc_residence, documentation_birthcertif,
##     documentation_id, documentation_idexp, documentation_none,
##     documentation_notell, documentation_other, documentation_passport,
##     documentation_passportexp, electricity, employment_opp,
##     eviction_asylum, eviction_orgin, eviction_othercity,
##     eviction_prefer_not, eviction_trip, evictionthreat_asylum,
##     evictionthreat_orgin, evictionthreat_othercity,
##     evictionthreat_trip, exploitationsex_asylum, exploitationsex_orgin,
##     exploitationsex_othercity, exploitationwork_asylum,
##     exploitationwork_orgin, exploitationwork_othercity,
##     exploitationwork_trip, familiy_left, feel_safe,
##     forceddisplaced_asylum, forceddisplaced_orgin,
##     forceddisplaced_othercity, forceddisplaced_trip, fraud_asylum,
##     fraud_orgin, fraud_othercity, fraud_trip, groupsize, headof,
##     homicide_asylum, homicide_orgin, homicide_othercity, homicide_trip,
##     household_leftbehind, housingtype, id,
##     income4basicneeds_actividadeco, income4basicneeds_ahorro,
##     income4basicneeds_apoyocomm, income4basicneeds_apoyohuman,
##     income4basicneeds_nosource, income4basicneeds_othersource,
##     income4basicneeds_remesas, income4basicneeds_venderbienes,
##     intention, intentionmove, intentionspctr, interaction,
##     interviewstat, isolation, jobafter, jobbefore,
##     kidscannotschool_no_mat_cupo, kidscannotschool_no_mat_rec,
##     kidscannotschool_otro_educ, kidscannotschool_sin_recuros,
##     kidscanschoolhow_downloadplat, kidscanschoolhow_interactplat,
##     kidscanschoolhow_materialsdeliv, kidscanschoolhow_materialswhats,
##     kidscanschoolhow_radioortv, marital_status, marital_statusother,
##     mealsperday, measure_acuerdoarren, measure_asistlegal,
##     measure_extension, measure_mudarhost, measure_mudartemp,
##     measure_nonem, measure_otherm, measure_prestamo,
##     measure_regresopai, medical_attention, medical_received,
##     medical_type_center, medical_type_clinic, medical_type_hospital,
##     medical_type_other, medicowhat_atenpsicosoc,
##     medicowhat_enfercronicas, medicowhat_otrono_c19,
##     medicowhat_prenatalpediatrico, medicowhat_prueba_c19,
##     medicowhat_tratamiento_c19, mentalhealthsymp_couple,
##     mentalhealthsymp_famfriend, mentalhealthsymp_ngos,
##     mentalhealthsymp_no_one, mentalhealthsymp_none,
##     mentalhealthsymp_notell, mentalhealthsymp_other,
##     mentalhealthsymp_religious, mentalhealthsymp_stateresource,
##     mentalhealthsymp_unorgs, minorsleft, monitoring_date, nationality,
##     not_asylum_costs, not_asylum_distance, not_asylum_lack_of_docume,
##     not_asylum_lack_of_inform, not_asylum_lack_time,
##     not_asylum_not_allowed_in, not_asylum_other,
##     physical_assault_asylum, physical_assault_orgin,
##     physical_assault_othercity, physical_assault_trip, pressneeds,
##     prevdeport_none, prevdeport_yes_forcedreturn,
##     prevdeport_yes_refusedentry, prevdeport_yesdeport,
##     probconvivencia_cargadomes, probconvivencia_conflictos,
##     probconvivencia_ninosdif, probconvivencia_noseguro,
##     probconvivencia_parejadif, probconvivencia_sin_problema,
##     razon_falta_asist_med_atencion_negad,
##     razon_falta_asist_med_atencion_susp,
##     razon_falta_asist_med_falta_if, razon_falta_asist_med_falta_info,
##     razon_falta_asist_med_falta_recursos,
##     razon_falta_asist_med_falta_seg_med,
##     razon_falta_asist_med_otro_at_med, razon_riesgo_autoridades,
##     razon_riesgo_no_pago, razon_riesgo_other,
##     razon_riesgo_propietarioa, razon_riesgo_vencio_plazo,
##     razon_violencia_aumenta_aislamien,
##     razon_violencia_aumenta_dependen, razon_violencia_aumenta_economi,
##     razon_violencia_aumenta_estres, razon_violencia_aumenta_justicia,
##     razon_violencia_aumenta_otro_viol,
##     razon_violencia_aumenta_servici_gbv, reasons_stayed_border_close,
##     reasons_stayed_care_property, reasons_stayed_caring_dependant,
##     reasons_stayed_continued, reasons_stayed_dont_know,
##     reasons_stayed_health_prob, reasons_stayed_lack_docs,
##     reasons_stayed_lack_funds, reasons_stayed_notell,
##     reasons_stayed_old_age, reasons_stayed_other,
##     reasons_stayed_othercountry, reasons_stayed_returned,
##     reasons_stayed_security, reasons_stayed_stayed,
##     reasons_stayed_work_study, reasonsreturn_discrim,
##     reasonsreturn_familyleft, reasonsreturn_houseloss,
##     reasonsreturn_jobloss, reasonsreturn_nodocs, reasonsreturn_nomeds,
##     reasonsreturn_other, reasonsreturn_violence, regular_entry,
##     remoteorinperson, risk_return_armedgroup, risk_return_assaulted,
##     risk_return_extorsion, risk_return_healthrisk,
##     risk_return_insecurity, risk_return_lackfood, risk_return_medical,
##     risk_return_other, risk_return_recruited,
##     risk_return_risk_prefer_not, risk_return_subsistence,
##     risk_return_threat, risk_return_violence, risk_stay_armedgroup,
##     risk_stay_assaulted, risk_stay_extorsion, risk_stay_healthrisk,
##     risk_stay_insecurity, risk_stay_lackfood, risk_stay_medical,
##     risk_stay_other, risk_stay_recruited, risk_stay_subsistence,
##     risk_stay_threat, risk_stay_violence, risk_yes, route_incident,
##     route_incident_type_abduction, route_incident_type_arrest,
##     route_incident_type_bribery, route_incident_type_confine,
##     route_incident_type_deportation, route_incident_type_despojo,
##     route_incident_type_destruct_prop, route_incident_type_displaced,
##     route_incident_type_eviction, route_incident_type_evictionthreat,
##     route_incident_type_exploitsex, route_incident_type_exploitwork,
##     route_incident_type_force_disappear,
##     route_incident_type_forced_recruit, route_incident_type_fraud,
##     route_incident_type_homicide, route_incident_type_notell,
##     route_incident_type_other, route_incident_type_phys_assault,
##     route_incident_type_sexual_assault, route_incident_type_theft,
##     route_incident_type_threat, route_incident_type_torture,
##     route_incident_typenodisp_abduct, route_incident_typenodisp_arrest,
##     route_incident_typenodisp_bribery,
##     route_incident_typenodisp_deportat,
##     route_incident_typenodisp_destr_pro,
##     route_incident_typenodisp_evicthr,
##     route_incident_typenodisp_eviction,
##     route_incident_typenodisp_explsex,
##     route_incident_typenodisp_explwork,
##     route_incident_typenodisp_fraud,
##     route_incident_typenodisp_homicide,
##     route_incident_typenodisp_other,
##     route_incident_typenodisp_phys_ass,
##     route_incident_typenodisp_sex_ass, route_incident_typenodisp_theft,
##     route_incident_typenodisp_threat, sexual_assault_asylum,
##     sexual_assault_orgin, sexual_assault_othercity,
##     sexual_assault_trip, short_cbi, social_benefit_communities,
##     social_benefit_gov_auxdoenca, social_benefit_gov_auxilio,
##     social_benefit_gov_bolsa, social_benefit_gov_bpc,
##     social_benefit_gov_other, social_benefit_gvt, social_benefit_ngo,
##     social_benefit_none, social_benefit_other,
##     social_benefit_religious, social_benefit_type_cash,
##     social_benefit_type_education, social_benefit_type_foodbag,
##     social_benefit_type_foodcard, social_benefit_type_foodkit,
##     social_benefit_type_foodration, social_benefit_type_housing,
##     social_benefit_type_hygiene, social_benefit_type_livelihood,
##     social_benefit_type_med, social_benefit_type_medical,
##     social_benefit_type_other, social_benefit_type_pss,
##     social_benefit_type_psych, social_benefit_type_relocate,
##     specific_needs_none, stafforpartner, theft_asylum, theft_orgin,
##     theft_othercity, theft_prefer_not, theft_trip, threat_asylum,
##     threat_orgin, threat_othercity, threat_trip, total_adult,
##     total_adult_female, total_adult_male, total_minor,
##     total_minor_female, total_minor_male, transit_countries_argentina,
##     transit_countries_bolivia, transit_countries_brazil,
##     transit_countries_canada, transit_countries_chile,
##     transit_countries_colombia, transit_countries_cuba,
##     transit_countries_ecuador, transit_countries_nicaragua,
##     transit_countries_other, transit_countries_panama,
##     transit_countries_paraguay, transit_countries_peru,
##     transit_countries_uruguay, transit_countries_venezuela,
##     transport_method_boat, transport_method_bus, transport_method_car,
##     transport_method_hitch_hiking, transport_method_other,
##     transport_method_plane, transport_method_taxi,
##     transport_method_walk, water, weight, whynot_medical_denied,
##     whynot_medical_distance, whynot_medical_feararrested,
##     whynot_medical_no_id, whynot_medical_noinfo,
##     whynot_medical_noinsurance, whynot_medical_nomoney,
##     whynot_medical_notavailable, whynot_medical_other,
##     workchangedhow_aumento_horas, workchangedhow_aumento_trabajo,
##     workchangedhow_negocio, workchangedhow_otro_laboral
tabulado("route_incident")
## Note: Using an external vector in selections is ambiguous.
## ℹ Use `all_of(pregunta)` instead of `pregunta` to silence this message.
## ℹ See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
## This message is displayed once per session.
tab_genero("route_incident")
tab_edad("route_incident")