Skip to contents

A cleaned Qualtrics export from a conjoint study that compares two potential new building developments. Each respondent completed 8 standard tasks as well as a repeated version of the first task, where the profiles were presented in the same left-right positions (not flipped).

Usage

data(exampleData2)

Format

A data frame with 400 rows and 185 columns. Contains survey responses including demographic information, outcome choices, and conjoint attribute values identified by K-*-* variable names.

Examples

# Load the dataset
data(exampleData2)

# Inspect the first few rows
head(exampleData2)
#> # A tibble: 6 × 185
#>   ResponseId      choice1_repeated_not…¹ choice1 choice2 choice3 choice4 choice5
#>   <chr>           <chr>                  <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1 R_1M3TDihZzq9z… Community A            Commun… Commun… Commun… Commun… Commun…
#> 2 R_3HtXzkcSSlfi… Community A            Commun… Commun… Commun… Commun… Commun…
#> 3 R_yjYj0jtOY98X… Community A            Commun… Commun… Commun… Commun… Commun…
#> 4 R_1dKd05O6FTOV… Community A            Commun… Commun… Commun… Commun… Commun…
#> 5 R_1otDp642wWYl… Community B            Commun… Commun… Commun… Commun… Commun…
#> 6 R_2BnD3fuJMRKZ… Community B            Commun… Commun… Commun… Commun… Commun…
#> # ℹ abbreviated name: ¹​choice1_repeated_notflipped
#> # ℹ 178 more variables: choice6 <chr>, choice7 <chr>, choice8 <chr>,
#> #   race <chr>, party_1 <chr>, party_2 <chr>, party_3 <chr>, party_4 <chr>,
#> #   ideology <chr>, honesty <chr>, `K-1-1` <chr>, `K-1-1-1` <chr>,
#> #   `K-1-2` <chr>, `K-1-1-2` <chr>, `K-1-3` <chr>, `K-1-1-3` <chr>,
#> #   `K-1-4` <chr>, `K-1-1-4` <chr>, `K-1-5` <chr>, `K-1-1-5` <chr>,
#> #   `K-1-6` <chr>, `K-1-1-6` <chr>, `K-1-7` <chr>, `K-1-1-7` <chr>, …

# Number of rows and columns
dim(exampleData2)
#> [1] 400 185

# Display first 10 column names
names(exampleData2)[1:10]
#>  [1] "ResponseId"                  "choice1_repeated_notflipped"
#>  [3] "choice1"                     "choice2"                    
#>  [5] "choice3"                     "choice4"                    
#>  [7] "choice5"                     "choice6"                    
#>  [9] "choice7"                     "choice8"