R/data-immigration.R

#' Poll on illegal workers in the US
#'
#' 910 randomly sampled registered voters in Tampa, FL were asked if they
#' thought workers who have illegally entered the US should be (i) allowed to
#' keep their jobs and apply for US citizenship, (ii) allowed to keep their
#' jobs as temporary guest workers but not allowed to apply for US citizenship,
#' or (iii) lose their jobs and have to leave the country as well as their
#' political ideology.
#'
#'
#' @name immigration
#' @docType data
#' @format A data frame with 910 observations on the following 2 variables.
#' \describe{ \item{response}{a factor with levels \code{Apply for citizenship}
#' \code{Guest worker} \code{Leave the country} \code{Not sure}}
#' \item{political}{a factor with levels \code{conservative} \code{liberal}
#' \code{moderate}} }
#' @source SurveyUSA, News Poll #18927, data collected Jan 27-29, 2012.
#' @keywords datasets
#' @examples
#'
#'
#' immigration
"immigration"
OpenIntroStat/openintro-r-package documentation built on Nov. 19, 2023, 4:58 p.m.